Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade",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.027/2.027, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001088/0.001088, allocations: 191.1 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.341/1.341, 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.001043/0.001043, allocations: 84.69 kB / 0.9264 GB, free: 14.35 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5318/0.5329, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.759, allocations: 143 MB / 1.212 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7434/1.502, allocations: 152.9 MB / 1.361 GB, free: 96 kB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.503, allocations: 82.75 kB / 1.361 GB, free: 48 kB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.012/1.515, allocations: 4.279 MB / 1.365 GB, free: 12.42 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.515, allocations: 12 kB / 1.365 GB, free: 12.41 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/1.515, allocations: 24.75 kB / 1.365 GB, free: 12.38 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/1.515, allocations: 247.2 kB / 1.365 GB, free: 12.11 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/1.515, allocations: 4 kB / 1.365 GB, free: 12.11 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/1.515, allocations: 19.72 kB / 1.366 GB, free: 12.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001729/1.516, allocations: 77.36 kB / 1.366 GB, free: 12.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/1.516, allocations: 119.7 kB / 1.366 GB, free: 11.94 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.516, allocations: 4 kB / 1.366 GB, free: 11.94 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/1.516, allocations: 0 / 1.366 GB, free: 11.94 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/1.516, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008022/1.517, allocations: 477.7 kB / 1.366 GB, free: 11.49 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/1.517, allocations: 138.1 kB / 1.366 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.807e-05/1.517, allocations: 64.34 kB / 1.366 GB, free: 11.33 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/1.517, allocations: 0 / 1.366 GB, free: 11.33 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/1.517, allocations: 33.31 kB / 1.366 GB, free: 11.29 MB / 0.823 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/1.517, allocations: 0 / 1.366 GB, free: 11.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=15): time 0.000265/1.517, allocations: 124.9 kB / 1.367 GB, free: 11.19 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/1.517, allocations: 51.41 kB / 1.367 GB, free: 11.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/1.518, allocations: 139.4 kB / 1.367 GB, free: 10.99 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.518, allocations: 28.89 kB / 1.367 GB, free: 10.96 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/1.518, allocations: 115.4 kB / 1.367 GB, free: 10.85 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/1.518, allocations: 54.33 kB / 1.367 GB, free: 10.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/1.518, allocations: 0 / 1.367 GB, free: 10.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.518, allocations: 325.7 kB / 1.367 GB, free: 10.48 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/1.518, allocations: 37.19 kB / 1.367 GB, free: 10.46 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/1.518, allocations: 32.22 kB / 1.367 GB, free: 10.44 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/1.518, allocations: 38.61 kB / 1.367 GB, free: 10.41 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.518, allocations: 0 / 1.367 GB, free: 10.41 MB / 0.823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001895/1.518, allocations: 124 kB / 1.367 GB, free: 10.31 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.518, allocations: 7.438 kB / 1.367 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.518, allocations: 0 / 1.367 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.518, allocations: 0 / 1.367 GB, free: 10.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/1.519, allocations: 55.81 kB / 1.367 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.519, allocations: 0 / 1.367 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/1.519, allocations: 15.92 kB / 1.367 GB, free: 10.24 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/1.519, allocations: 7.188 kB / 1.367 GB, free: 10.23 MB / 0.823 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 (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/1.519, allocations: 104.9 kB / 1.368 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/1.519, allocations: 23.75 kB / 1.368 GB, free: 10.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/1.519, allocations: 16.47 kB / 1.368 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.519, allocations: 3.984 kB / 1.368 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.519, allocations: 0 / 1.368 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.519, allocations: 4 kB / 1.368 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/1.519, allocations: 211.7 kB / 1.368 GB, free: 9.867 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.519, allocations: 0 / 1.368 GB, free: 9.867 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/1.519, allocations: 39.73 kB / 1.368 GB, free: 9.832 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/1.519, allocations: 8 kB / 1.368 GB, free: 9.824 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/1.519, allocations: 0 / 1.368 GB, free: 9.824 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.519, allocations: 0 / 1.368 GB, free: 9.824 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.519, allocations: 4.609 kB / 1.368 GB, free: 9.82 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003013/1.52, allocations: 267.9 kB / 1.368 GB, free: 9.586 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004288/1.52, allocations: 0.6854 MB / 1.369 GB, free: 8.949 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/1.52, allocations: 100.6 kB / 1.369 GB, free: 8.836 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/1.52, allocations: 0 / 1.369 GB, free: 8.836 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/1.52, allocations: 11.98 kB / 1.369 GB, free: 8.824 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/1.521, allocations: 11.17 kB / 1.369 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/1.521, allocations: 8 kB / 1.369 GB, free: 8.809 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.839e-05/1.521, allocations: 118.7 kB / 1.369 GB, free: 8.703 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008184/1.521, allocations: 47.75 kB / 1.369 GB, free: 8.656 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/1.522, allocations: 142 kB / 1.369 GB, free: 8.516 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001909/1.522, allocations: 79.56 kB / 1.369 GB, free: 8.461 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.522, allocations: 0 / 1.369 GB, free: 8.461 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.193e-05/1.522, allocations: 57.55 kB / 1.369 GB, free: 8.422 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/1.522, allocations: 12 kB / 1.369 GB, free: 8.414 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/1.523, allocations: 411.2 kB / 1.37 GB, free: 8.012 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/1.523, allocations: 0.7628 MB / 1.371 GB, free: 7.223 MB / 0.823 GB Notification: Performance of SimCode: time 4.41e-07/1.523, allocations: 0 / 1.371 GB, free: 7.223 MB / 0.823 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat does not exist to compare? outputFormat=mat