Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.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.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity",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 1.98/1.98, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001103/0.001103, allocations: 173.3 kB / 487 MB, free: 5.355 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.285/1.285, 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.0009327/0.0009327, allocations: 96.5 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4721/0.4731, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.6822, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5615/1.244, allocations: 149.4 MB / 1.351 GB, free: 16.2 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/1.244, allocations: 82.05 kB / 1.351 GB, free: 16.19 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003404/1.247, allocations: 1.195 MB / 1.352 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.248, allocations: 8.188 kB / 1.352 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/1.248, allocations: 6.75 kB / 1.352 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.749e-05/1.248, allocations: 175.2 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/1.248, allocations: 1.094 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/1.248, allocations: 3 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.461e-05/1.248, allocations: 20.23 kB / 1.353 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.416e-05/1.248, allocations: 47.81 kB / 1.353 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/1.248, allocations: 0 / 1.353 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.248, allocations: 3.906 kB / 1.353 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/1.248, allocations: 0.9375 kB / 1.353 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/1.248, allocations: 254.8 kB / 1.353 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.553e-05/1.248, allocations: 28.73 kB / 1.353 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/1.248, allocations: 14.89 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/1.248, allocations: 2.203 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/1.248, allocations: 62.88 kB / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/1.248, allocations: 0 / 1.353 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001703/1.249, allocations: 57.22 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/1.249, allocations: 53.91 kB / 1.353 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/1.249, allocations: 105.7 kB / 1.353 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/1.249, allocations: 25.7 kB / 1.353 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.241e-05/1.249, allocations: 83.22 kB / 1.353 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/1.249, allocations: 19.75 kB / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.249, allocations: 0 / 1.353 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.367e-05/1.249, allocations: 314.6 kB / 1.354 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/1.249, allocations: 9.031 kB / 1.354 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/1.249, allocations: 47.5 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.261e-05/1.249, allocations: 16.52 kB / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.249, allocations: 0 / 1.354 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001086/1.249, allocations: 68.34 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.249, allocations: 5.281 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.249, allocations: 1.625 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.249, allocations: 2.062 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/1.249, allocations: 20.55 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/1.249, allocations: 1.594 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/1.249, allocations: 6.562 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/1.249, allocations: 3.688 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.bli.blindState,bli.blindState,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.117e-05/1.249, allocations: 111.3 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/1.249, allocations: 2.438 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/1.249, allocations: 6.031 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.249, allocations: 5.922 kB / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.249, allocations: 3.906 kB / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.249, allocations: 1.031 kB / 1.354 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/1.25, allocations: 290.5 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.25, allocations: 0 / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/1.25, allocations: 7.469 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.25, allocations: 4.844 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/1.25, allocations: 0 / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.25, allocations: 3.75 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.25, allocations: 4 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.704e-05/1.25, allocations: 154.2 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001208/1.25, allocations: 0.5228 MB / 1.355 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/1.25, allocations: 83.88 kB / 1.355 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/1.25, allocations: 5.344 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/1.25, allocations: 14.06 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/1.25, allocations: 6.125 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/1.25, allocations: 1.438 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.512e-05/1.25, allocations: 91.02 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007773/1.251, allocations: 14.84 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.326e-05/1.251, allocations: 102.1 kB / 1.355 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001005/1.251, allocations: 33.11 kB / 1.355 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/1.251, allocations: 0 / 1.355 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-05/1.251, allocations: 17.78 kB / 1.355 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/1.251, allocations: 12.72 kB / 1.355 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/1.252, allocations: 85.27 kB / 1.355 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/1.252, allocations: 0.7028 MB / 1.356 GB, free: 28.33 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.252, allocations: 0 / 1.356 GB, free: 28.33 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Newsham1994BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Newsham1994BlindsSolarIntensity_res.mat does not exist to compare? outputFormat=mat