Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.GlassLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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 1.962/1.962, allocations: 390.4 MB / 397.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 184.1 kB / 490.8 MB, free: 4.723 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.4 MB / 0.7863 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 91.72 kB / 0.9264 GB, free: 64.6 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 0.2947/0.2957, allocations: 149.2 MB / 1.072 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.6397, allocations: 143 MB / 1.212 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7926/1.432, allocations: 155.9 MB / 1.364 GB, free: 43 MB / 0.8731 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.433, allocations: 89.06 kB / 1.364 GB, free: 42.91 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.02819/1.461, allocations: 10.52 MB / 1.374 GB, free: 32.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/1.461, allocations: 8 kB / 1.374 GB, free: 32.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/1.461, allocations: 59.34 kB / 1.374 GB, free: 32.4 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/1.462, allocations: 340.5 kB / 1.375 GB, free: 32.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.462, allocations: 16 kB / 1.375 GB, free: 32.01 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/1.462, allocations: 24 kB / 1.375 GB, free: 31.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005111/1.462, allocations: 293.9 kB / 1.375 GB, free: 31.7 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/1.463, allocations: 316.5 kB / 1.375 GB, free: 31.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/1.463, allocations: 0 / 1.375 GB, free: 31.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/1.463, allocations: 6.922 kB / 1.375 GB, free: 31.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.463, allocations: 9.078 kB / 1.375 GB, free: 31.38 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/1.465, allocations: 1.212 MB / 1.377 GB, free: 30.12 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/1.465, allocations: 345.7 kB / 1.377 GB, free: 29.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/1.466, allocations: 217.6 kB / 1.377 GB, free: 29.56 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/1.466, allocations: 6.578 kB / 1.377 GB, free: 29.56 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/1.466, allocations: 35.25 kB / 1.377 GB, free: 29.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=41): time 2.184e-06/1.466, allocations: 0 / 1.377 GB, free: 29.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=41): time 0.001836/1.468, allocations: 0.6454 MB / 1.378 GB, free: 28.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/1.468, allocations: 55.41 kB / 1.378 GB, free: 28.79 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/1.468, allocations: 236.2 kB / 1.378 GB, free: 28.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/1.468, allocations: 29.64 kB / 1.378 GB, free: 28.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/1.468, allocations: 192.3 kB / 1.378 GB, free: 28.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/1.468, allocations: 134 kB / 1.378 GB, free: 28.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/1.468, allocations: 0 / 1.378 GB, free: 28.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/1.468, allocations: 346.8 kB / 1.379 GB, free: 27.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/1.469, allocations: 117.4 kB / 1.379 GB, free: 27.73 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/1.469, allocations: 174.7 kB / 1.379 GB, free: 27.54 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/1.469, allocations: 139.2 kB / 1.379 GB, free: 27.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.469, allocations: 1.312 kB / 1.379 GB, free: 27.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001775/1.471, allocations: 0.6573 MB / 1.38 GB, free: 26.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.436e-05/1.471, allocations: 100.9 kB / 1.38 GB, free: 26.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.471, allocations: 0 / 1.38 GB, free: 26.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/1.473, allocations: 395.4 kB / 1.38 GB, free: 26.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/1.473, allocations: 31.97 kB / 1.38 GB, free: 26.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/1.474, allocations: 1.146 MB / 1.381 GB, free: 25.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/1.475, allocations: 39.67 kB / 1.381 GB, free: 25.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/1.475, allocations: 11.94 kB / 1.381 GB, free: 25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/1.475, allocations: 4 kB / 1.381 GB, free: 24.99 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001667/1.476, allocations: 0.5823 MB / 1.382 GB, free: 24.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.476, allocations: 0 / 1.382 GB, free: 24.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/1.478, allocations: 400.8 kB / 1.382 GB, free: 24.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/1.478, allocations: 35.97 kB / 1.382 GB, free: 23.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/1.483, allocations: 3.46 MB / 1.386 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/1.484, allocations: 35.81 kB / 1.386 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/1.484, allocations: 8 kB / 1.386 GB, free: 20.36 MB / 0.8731 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.484, allocations: 108.9 kB / 1.386 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/1.484, allocations: 31.62 kB / 1.386 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.627e-05/1.484, allocations: 47.16 kB / 1.386 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.484, allocations: 4 kB / 1.386 GB, free: 20.17 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.484, allocations: 3.906 kB / 1.386 GB, free: 20.17 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.484, allocations: 4 kB / 1.386 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/1.484, allocations: 434.4 kB / 1.386 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.484, allocations: 4 kB / 1.386 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/1.485, allocations: 29.34 kB / 1.386 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/1.486, allocations: 393 kB / 1.387 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/1.486, allocations: 4 kB / 1.387 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004601/1.491, allocations: 3.418 MB / 1.39 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.491, allocations: 4 kB / 1.39 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001658/1.492, allocations: 0.7306 MB / 1.391 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001613/1.494, allocations: 1.116 MB / 1.392 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/1.494, allocations: 140.6 kB / 1.392 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/1.494, allocations: 0 / 1.392 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/1.494, allocations: 19.83 kB / 1.392 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/1.495, allocations: 23.75 kB / 1.392 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/1.495, allocations: 10.94 kB / 1.392 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.0001435/1.495, allocations: 195.1 kB / 1.392 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001947/1.497, allocations: 259.2 kB / 1.393 GB, free: 13.21 MB / 0.8731 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/1.497, allocations: 103.4 kB / 1.393 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001973/1.499, allocations: 0.8324 MB / 1.393 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.499, allocations: 0.8438 kB / 1.393 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008035/1.5, allocations: 402 kB / 1.394 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/1.5, allocations: 81.41 kB / 1.394 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.502, allocations: 0.5719 MB / 1.395 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/1.502, allocations: 0.8512 MB / 1.395 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/1.502, allocations: 4 kB / 1.395 GB, free: 10.29 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat does not exist to compare? outputFormat=mat