Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.076/2.076, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 192.4 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 91.11 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.657/0.658, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.9391, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8102/1.749, allocations: 157.5 MB / 1.365 GB, free: 17.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.75, allocations: 94 kB / 1.366 GB, free: 17.31 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.04978/1.799, allocations: 16.75 MB / 1.382 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.8, allocations: 9.062 kB / 1.382 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02678/1.826, allocations: 2.663 MB / 1.385 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.828, allocations: 0.5991 MB / 1.385 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/1.828, allocations: 11.5 kB / 1.385 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/1.828, allocations: 17 kB / 1.385 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001006/1.829, allocations: 494.1 kB / 1.386 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009934/1.83, allocations: 0.5183 MB / 1.386 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.83, allocations: 0.9688 kB / 1.386 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/1.831, allocations: 0 / 1.386 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/1.831, allocations: 5.656 kB / 1.386 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004142/1.835, allocations: 2.958 MB / 1.389 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/1.835, allocations: 472.1 kB / 1.389 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/1.836, allocations: 324 kB / 1.39 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/1.836, allocations: 47.73 kB / 1.39 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/1.836, allocations: 36.94 kB / 1.39 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 2.204e-06/1.836, allocations: 0 / 1.39 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.006121/1.842, allocations: 1.401 MB / 1.391 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/1.842, allocations: 57.25 kB / 1.391 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/1.843, allocations: 237 kB / 1.392 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001826/1.843, allocations: 25.7 kB / 1.392 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/1.843, allocations: 175.9 kB / 1.392 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/1.843, allocations: 67.27 kB / 1.392 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/1.843, allocations: 1.219 kB / 1.392 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.843, allocations: 344.5 kB / 1.392 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/1.845, allocations: 0.8493 MB / 1.393 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.846, allocations: 0.9033 MB / 1.394 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/1.858, allocations: 2.276 MB / 1.396 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.858, allocations: 0 / 1.396 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01517/1.873, allocations: 3.34 MB / 1.399 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.874, allocations: 100.1 kB / 1.399 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01322/1.887, allocations: 2.907 MB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.887, allocations: 4 kB / 1.402 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/1.892, allocations: 0.6 MB / 1.403 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/1.893, allocations: 4 kB / 1.403 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.898, allocations: 498.2 kB / 1.403 GB, free: 21.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.898, allocations: 55.05 kB / 1.403 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.898, allocations: 4 kB / 1.403 GB, free: 21.52 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01419/1.912, allocations: 3.273 MB / 1.407 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01208/1.924, allocations: 2.906 MB / 1.409 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/1.925, allocations: 4 kB / 1.409 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005513/1.93, allocations: 0.5964 MB / 1.41 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/1.93, allocations: 4 kB / 1.41 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/1.935, allocations: 491.2 kB / 1.41 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002125/1.936, allocations: 59.8 kB / 1.411 GB, free: 15.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003088/1.936, allocations: 108.8 kB / 1.411 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/1.936, allocations: 31.62 kB / 1.411 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/1.941, allocations: 1.42 MB / 1.412 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.941, allocations: 7.984 kB / 1.412 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.941, allocations: 3.938 kB / 1.412 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.941, allocations: 0 / 1.412 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/1.942, allocations: 0.8772 MB / 1.413 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003835/1.946, allocations: 1.082 MB / 1.414 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/1.948, allocations: 251.1 kB / 1.414 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/1.948, allocations: 0 / 1.414 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/1.949, allocations: 19.97 kB / 1.414 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.949, allocations: 0 / 1.414 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.949, allocations: 4 kB / 1.414 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004041/1.953, allocations: 1.21 MB / 1.415 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004161/1.957, allocations: 1.608 MB / 1.417 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/1.957, allocations: 204 kB / 1.417 GB, free: 9.906 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.957, allocations: 4 kB / 1.417 GB, free: 9.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.959, allocations: 183.8 kB / 1.417 GB, free: 9.723 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/1.959, allocations: 19.41 kB / 1.417 GB, free: 9.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/1.959, allocations: 23.28 kB / 1.417 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002139/1.96, allocations: 181.4 kB / 1.418 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002592/1.962, allocations: 383.1 kB / 1.418 GB, free: 9.195 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006904/1.963, allocations: 274.2 kB / 1.418 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003209/1.966, allocations: 1.974 MB / 1.42 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.966, allocations: 0 / 1.42 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000535/1.967, allocations: 398.5 kB / 1.42 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/1.967, allocations: 53.94 kB / 1.421 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/1.969, allocations: 0.7169 MB / 1.421 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.97, allocations: 0.932 MB / 1.422 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/1.97, allocations: 4 kB / 1.422 GB, free: 5.848 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat does not exist to compare? outputFormat=mat