Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.CenterOfGlass,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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.036/2.036, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001176/0.001176, allocations: 179.8 kB / 490.8 MB, free: 1.93 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.469/1.469, allocations: 221.3 MB / 0.7863 GB, free: 13.8 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.0009385/0.0009388, allocations: 103.2 kB / 0.9264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6485/0.6495, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.9292, allocations: 143 MB / 1.212 GB, free: 21.81 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7526/1.682, allocations: 166 MB / 1.374 GB, free: 2.766 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.682, allocations: 85.27 kB / 1.374 GB, free: 2.723 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1019/1.784, allocations: 35.34 MB / 1.408 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/1.784, allocations: 12 kB / 1.408 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03118/1.815, allocations: 3.837 MB / 1.412 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/1.819, allocations: 1.461 MB / 1.414 GB, free: 500 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/1.819, allocations: 31.84 kB / 1.414 GB, free: 468 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006237/1.82, allocations: 44 kB / 1.414 GB, free: 424 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003116/1.823, allocations: 1.863 MB / 1.415 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003288/1.826, allocations: 1.864 MB / 1.417 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/1.826, allocations: 0 / 1.417 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/1.827, allocations: 4 kB / 1.417 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/1.827, allocations: 16 kB / 1.417 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/1.84, allocations: 8.153 MB / 1.425 GB, free: 6.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/1.843, allocations: 1.744 MB / 1.427 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/1.845, allocations: 1.508 MB / 1.428 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/1.845, allocations: 55.05 kB / 1.428 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/1.845, allocations: 39.16 kB / 1.429 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 4.148e-06/1.845, allocations: 0 / 1.429 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.01378/1.859, allocations: 5.483 MB / 1.434 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.859, allocations: 60.06 kB / 1.434 GB, free: 472 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/1.861, allocations: 1.052 MB / 1.435 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/1.861, allocations: 25.7 kB / 1.435 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/1.862, allocations: 325.1 kB / 1.435 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.862, allocations: 228 kB / 1.436 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.862, allocations: 4 kB / 1.436 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.862, allocations: 336.1 kB / 1.436 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/1.865, allocations: 2.169 MB / 1.438 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/1.868, allocations: 2.331 MB / 1.44 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.881, allocations: 4.136 MB / 1.444 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/1.881, allocations: 0 / 1.444 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02007/1.901, allocations: 8.015 MB / 1.452 GB, free: 2.555 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/1.901, allocations: 98.94 kB / 1.452 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01908/1.921, allocations: 7.067 MB / 1.459 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0307/1.951, allocations: 5.007 MB / 1.464 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00584/1.957, allocations: 0.6905 MB / 1.465 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/1.968, allocations: 5.226 MB / 1.47 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008106/1.976, allocations: 0.8461 MB / 1.471 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004688/1.976, allocations: 67.92 kB / 1.471 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.976, allocations: 0 / 1.471 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01978/1.996, allocations: 7.208 MB / 1.478 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01844/2.015, allocations: 6.677 MB / 1.484 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003455/2.018, allocations: 0.9963 MB / 1.485 GB, free: 0.7344 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007735/2.026, allocations: 0.9129 MB / 1.486 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/2.037, allocations: 6.719 MB / 1.493 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008504/2.046, allocations: 0.8384 MB / 1.493 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007687/2.046, allocations: 67.92 kB / 1.494 GB, free: 8.078 MB / 0.9323 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 (29): * Single equations (assignments): 28 * 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 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006497/2.047, allocations: 108.9 kB / 1.494 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/2.048, allocations: 106.7 kB / 1.494 GB, free: 7.859 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/2.059, allocations: 5.055 MB / 1.499 GB, free: 2.789 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/2.059, allocations: 8 kB / 1.499 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/2.059, allocations: 3.906 kB / 1.499 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/2.059, allocations: 7.984 kB / 1.499 GB, free: 2.77 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/2.071, allocations: 7.042 MB / 1.506 GB, free: 11.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04694/2.118, allocations: 7.667 MB / 1.513 GB, free: 3.824 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00302/2.121, allocations: 367.5 kB / 1.513 GB, free: 3.465 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04538/2.166, allocations: 6.768 MB / 1.52 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/2.166, allocations: 31.86 kB / 1.52 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007973/2.174, allocations: 4.32 MB / 1.524 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/2.175, allocations: 3.984 kB / 1.524 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04826/2.223, allocations: 7.899 MB / 1.532 GB, free: 368 kB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0486/2.271, allocations: 8.286 MB / 1.54 GB, free: 8.023 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/2.273, allocations: 0.5501 MB / 1.541 GB, free: 7.453 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006219/2.274, allocations: 3.984 kB / 1.541 GB, free: 7.449 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005184/2.279, allocations: 0.5149 MB / 1.541 GB, free: 6.934 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/2.279, allocations: 44.59 kB / 1.541 GB, free: 6.891 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/2.279, allocations: 43.95 kB / 1.541 GB, free: 6.848 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001588/2.281, allocations: 0.8051 MB / 1.542 GB, free: 6.027 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004808/2.286, allocations: 0.7838 MB / 1.543 GB, free: 5.242 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.001057/2.287, allocations: 331.2 kB / 1.543 GB, free: 4.914 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01117/2.298, allocations: 6.051 MB / 1.549 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/2.298, allocations: 0 / 1.549 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002871/2.301, allocations: 1.551 MB / 1.55 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/2.303, allocations: 208.5 kB / 1.551 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/2.31, allocations: 2.919 MB / 1.554 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/2.312, allocations: 1.467 MB / 1.555 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of SimCode: time 1.703e-06/2.312, allocations: 0 / 1.555 GB, free: 8.625 MB / 0.9948 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat does not exist to compare? outputFormat=mat