Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",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.984/1.984, allocations: 390.4 MB / 397.7 MB, free: 10.67 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 185 kB / 490.8 MB, free: 11.21 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.279/1.279, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 99.05 kB / 0.9264 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3039/0.3051, allocations: 149.1 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/1.066, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/1.242, allocations: 153 MB / 1.361 GB, free: 38.58 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.242, allocations: 87.41 kB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.01714/1.26, allocations: 7.046 MB / 1.368 GB, free: 31.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.26, allocations: 12 kB / 1.368 GB, free: 31.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/1.26, allocations: 41.59 kB / 1.368 GB, free: 31.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/1.26, allocations: 317.5 kB / 1.368 GB, free: 31.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/1.26, allocations: 12.88 kB / 1.368 GB, free: 31.08 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/1.26, allocations: 27.89 kB / 1.368 GB, free: 31.05 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000322/1.261, allocations: 166.9 kB / 1.369 GB, free: 30.89 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/1.261, allocations: 292.6 kB / 1.369 GB, free: 30.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/1.261, allocations: 4 kB / 1.369 GB, free: 30.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/1.261, allocations: 0.8125 kB / 1.369 GB, free: 30.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.261, allocations: 8 kB / 1.369 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/1.263, allocations: 1.419 MB / 1.37 GB, free: 29.08 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/1.263, allocations: 257 kB / 1.371 GB, free: 28.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/1.263, allocations: 104.3 kB / 1.371 GB, free: 28.69 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/1.263, allocations: 5.031 kB / 1.371 GB, free: 28.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/1.263, allocations: 43.92 kB / 1.371 GB, free: 28.63 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/1.263, allocations: 0 / 1.371 GB, free: 28.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.0003893/1.263, allocations: 185.9 kB / 1.371 GB, free: 28.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/1.263, allocations: 137.1 kB / 1.371 GB, free: 28.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/1.264, allocations: 169.7 kB / 1.371 GB, free: 28.11 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/1.264, allocations: 25.92 kB / 1.371 GB, free: 28.08 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/1.264, allocations: 177.3 kB / 1.371 GB, free: 27.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/1.264, allocations: 116.6 kB / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/1.264, allocations: 0.6562 kB / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/1.264, allocations: 339.6 kB / 1.372 GB, free: 27.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/1.264, allocations: 60.75 kB / 1.372 GB, free: 27.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/1.264, allocations: 133.5 kB / 1.372 GB, free: 27.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/1.264, allocations: 90.94 kB / 1.372 GB, free: 27.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.264, allocations: 0 / 1.372 GB, free: 27.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003267/1.265, allocations: 252.3 kB / 1.372 GB, free: 26.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.265, allocations: 8 kB / 1.372 GB, free: 26.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.265, allocations: 0 / 1.372 GB, free: 26.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.265, allocations: 7.938 kB / 1.372 GB, free: 26.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/1.265, allocations: 96.05 kB / 1.372 GB, free: 26.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.265, allocations: 4 kB / 1.372 GB, free: 26.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/1.265, allocations: 30.56 kB / 1.372 GB, free: 26.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/1.265, allocations: 12 kB / 1.372 GB, free: 26.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 6.516e-05/1.265, allocations: 116.8 kB / 1.373 GB, free: 26.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.265, allocations: 27.66 kB / 1.373 GB, free: 26.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/1.265, allocations: 29.41 kB / 1.373 GB, free: 26.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/1.265, allocations: 4 kB / 1.373 GB, free: 26.56 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.265, allocations: 0 / 1.373 GB, free: 26.56 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/1.265, allocations: 7.984 kB / 1.373 GB, free: 26.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/1.266, allocations: 293.8 kB / 1.373 GB, free: 26.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.266, allocations: 0 / 1.373 GB, free: 26.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/1.266, allocations: 83.95 kB / 1.373 GB, free: 26.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/1.266, allocations: 7.594 kB / 1.373 GB, free: 26.14 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/1.266, allocations: 4 kB / 1.373 GB, free: 26.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.266, allocations: 0 / 1.373 GB, free: 26.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.266, allocations: 4 kB / 1.373 GB, free: 26.14 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004322/1.267, allocations: 0.6243 MB / 1.374 GB, free: 25.48 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005213/1.267, allocations: 1.083 MB / 1.375 GB, free: 24.36 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/1.267, allocations: 120.6 kB / 1.375 GB, free: 24.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/1.267, allocations: 9.5 kB / 1.375 GB, free: 24.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/1.268, allocations: 4 kB / 1.375 GB, free: 24.21 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/1.268, allocations: 15.97 kB / 1.375 GB, free: 24.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/1.268, allocations: 12 kB / 1.375 GB, free: 24.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.01e-05/1.268, allocations: 135.6 kB / 1.375 GB, free: 24.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009982/1.269, allocations: 99.59 kB / 1.375 GB, free: 23.95 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.T,heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0001932/1.269, allocations: 131.2 kB / 1.375 GB, free: 23.81 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002726/1.269, allocations: 183.9 kB / 1.375 GB, free: 23.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.269, allocations: 0 / 1.375 GB, free: 23.63 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.695e-05/1.269, allocations: 83.94 kB / 1.375 GB, free: 23.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/1.27, allocations: 30.38 kB / 1.375 GB, free: 23.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/1.271, allocations: 0.9734 MB / 1.376 GB, free: 22.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/1.272, allocations: 0.8394 MB / 1.377 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/1.272, allocations: 7.938 kB / 1.377 GB, free: 21.66 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat does not exist to compare? outputFormat=mat