Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.029/2.029, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001119/0.001119, allocations: 184.4 kB / 487 MB, free: 5.371 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.485/1.485, allocations: 221.3 MB / 0.7819 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009047/0.0009045, allocations: 96.23 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6383/0.6393, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.9272, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8379/1.765, allocations: 156.7 MB / 1.358 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.766, allocations: 91.44 kB / 1.358 GB, free: 15.8 MB / 0.8073 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.04386/1.81, allocations: 16.75 MB / 1.375 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/1.81, allocations: 12 kB / 1.375 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/1.835, allocations: 2.662 MB / 1.377 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/1.837, allocations: 0.6091 MB / 1.378 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/1.837, allocations: 8 kB / 1.378 GB, free: 0.7148 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/1.837, allocations: 16 kB / 1.378 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006809/1.838, allocations: 492.8 kB / 1.379 GB, free: 432 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/1.838, allocations: 0.5142 MB / 1.379 GB, free: 52 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.838, allocations: 0 / 1.379 GB, free: 52 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/1.838, allocations: 0 / 1.379 GB, free: 52 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.838, allocations: 4 kB / 1.379 GB, free: 48 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/1.842, allocations: 2.956 MB / 1.382 GB, free: 13.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/1.843, allocations: 475.4 kB / 1.382 GB, free: 13.12 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004501/1.844, allocations: 318.1 kB / 1.383 GB, free: 12.95 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/1.844, allocations: 45.72 kB / 1.383 GB, free: 12.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/1.844, allocations: 38.56 kB / 1.383 GB, free: 12.86 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/1.844, allocations: 224 / 1.383 GB, free: 12.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=22): time 0.00609/1.85, allocations: 1.404 MB / 1.384 GB, free: 11.75 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/1.85, allocations: 59.28 kB / 1.384 GB, free: 11.68 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/1.85, allocations: 235.9 kB / 1.384 GB, free: 11.49 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.85, allocations: 29.64 kB / 1.384 GB, free: 11.45 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/1.851, allocations: 174.3 kB / 1.385 GB, free: 11.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/1.851, allocations: 69.88 kB / 1.385 GB, free: 11.23 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.851, allocations: 3.938 kB / 1.385 GB, free: 11.23 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.851, allocations: 344.3 kB / 1.385 GB, free: 10.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/1.852, allocations: 0.843 MB / 1.386 GB, free: 10.43 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/1.854, allocations: 0.9118 MB / 1.387 GB, free: 9.895 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/1.865, allocations: 2.267 MB / 1.389 GB, free: 8.02 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.865, allocations: 4 kB / 1.389 GB, free: 8.016 MB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01444/1.88, allocations: 3.332 MB / 1.392 GB, free: 5.453 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.635e-05/1.88, allocations: 97.31 kB / 1.392 GB, free: 5.355 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0127/1.893, allocations: 2.918 MB / 1.395 GB, free: 3.078 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/1.893, allocations: 4 kB / 1.395 GB, free: 3.074 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005631/1.898, allocations: 0.5955 MB / 1.396 GB, free: 2.484 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/1.898, allocations: 8 kB / 1.396 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005395/1.904, allocations: 0.4906 MB / 1.396 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/1.904, allocations: 51.17 kB / 1.396 GB, free: 1.941 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.904, allocations: 4 kB / 1.396 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01486/1.919, allocations: 3.267 MB / 1.399 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01294/1.932, allocations: 2.905 MB / 1.402 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.932, allocations: 8 kB / 1.402 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00578/1.938, allocations: 0.5964 MB / 1.403 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/1.938, allocations: 0 / 1.403 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005441/1.943, allocations: 494.6 kB / 1.403 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/1.944, allocations: 50.8 kB / 1.403 GB, free: 12.06 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.0003274/1.944, allocations: 112.8 kB / 1.403 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/1.944, allocations: 31.62 kB / 1.404 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005255/1.949, allocations: 1.419 MB / 1.405 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.949, allocations: 4 kB / 1.405 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.95, allocations: 3.984 kB / 1.405 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/1.95, allocations: 0 / 1.405 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/1.951, allocations: 0.8808 MB / 1.406 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003916/1.955, allocations: 1.08 MB / 1.407 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/1.957, allocations: 250.9 kB / 1.407 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/1.957, allocations: 0 / 1.407 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/1.957, allocations: 23.41 kB / 1.407 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.957, allocations: 0 / 1.407 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.957, allocations: 0 / 1.407 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004099/1.961, allocations: 1.215 MB / 1.408 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004316/1.965, allocations: 1.609 MB / 1.41 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/1.966, allocations: 205.6 kB / 1.41 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.966, allocations: 0 / 1.41 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/1.968, allocations: 179.8 kB / 1.41 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/1.968, allocations: 23.28 kB / 1.41 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/1.968, allocations: 19.97 kB / 1.41 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002281/1.968, allocations: 185.1 kB / 1.41 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00274/1.971, allocations: 379.6 kB / 1.411 GB, free: 5.621 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.0007458/1.972, allocations: 268.8 kB / 1.411 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003466/1.975, allocations: 1.98 MB / 1.413 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.975, allocations: 4 kB / 1.413 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/1.976, allocations: 400.1 kB / 1.413 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/1.976, allocations: 54.94 kB / 1.413 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/1.978, allocations: 0.7115 MB / 1.414 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.98, allocations: 0.9394 MB / 1.415 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of SimCode: time 1.313e-06/1.98, allocations: 0 / 1.415 GB, free: 2.277 MB / 0.8386 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat does not exist to compare? outputFormat=mat