Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled",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.829/1.829, allocations: 390.4 MB / 397.7 MB, free: 11.16 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.0009235/0.0009235, allocations: 177.3 kB / 490.8 MB, free: 1.887 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.137/1.137, allocations: 221.4 MB / 0.7863 GB, free: 13.6 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.0008554/0.0008554, allocations: 104 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4216/0.4225, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.6051, allocations: 143 MB / 1.212 GB, free: 39.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/1.12, allocations: 150.2 MB / 1.358 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000174/1.12, allocations: 65.86 kB / 1.358 GB, free: 17.51 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01069/1.131, allocations: 3.545 MB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/1.131, allocations: 9.312 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/1.131, allocations: 9.312 kB / 1.362 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/1.131, allocations: 174.9 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.131, allocations: 2.594 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/1.131, allocations: 4.188 kB / 1.362 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001235/1.131, allocations: 43.36 kB / 1.362 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/1.131, allocations: 96.33 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/1.132, allocations: 1.438 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.132, allocations: 1.172 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.132, allocations: 5.5 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/1.132, allocations: 497.4 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/1.132, allocations: 130.1 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.731e-05/1.133, allocations: 42.61 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/1.133, allocations: 1.25 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/1.133, allocations: 103.9 kB / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/1.133, allocations: 0 / 1.363 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002763/1.133, allocations: 104.3 kB / 1.363 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/1.133, allocations: 109.4 kB / 1.363 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/1.133, allocations: 117.5 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/1.133, allocations: 31.23 kB / 1.363 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/1.133, allocations: 88.86 kB / 1.363 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/1.133, allocations: 29.06 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/1.133, allocations: 4.031 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.133, allocations: 319.8 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/1.133, allocations: 29.64 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.319e-05/1.133, allocations: 33.66 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/1.134, allocations: 44.48 kB / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.134, allocations: 0 / 1.364 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002476/1.134, allocations: 129.1 kB / 1.364 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.134, allocations: 4.312 kB / 1.364 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.134, allocations: 4.906 kB / 1.364 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/1.134, allocations: 1.312 kB / 1.364 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.134, allocations: 22.91 kB / 1.364 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/1.134, allocations: 1.312 kB / 1.364 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/1.134, allocations: 15.44 kB / 1.364 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/1.134, allocations: 6.781 kB / 1.364 GB, free: 31.32 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * 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.274e-05/1.134, allocations: 113.1 kB / 1.364 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/1.134, allocations: 7.438 kB / 1.364 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/1.134, allocations: 107.3 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.134, allocations: 3.562 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.134, allocations: 5.062 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.134, allocations: 2.359 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/1.135, allocations: 188.9 kB / 1.364 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.135, allocations: 1.094 kB / 1.364 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/1.135, allocations: 22.28 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/1.135, allocations: 10.69 kB / 1.364 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.135, allocations: 5.406 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/1.135, allocations: 2.312 kB / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.135, allocations: 0 / 1.364 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002263/1.135, allocations: 192.5 kB / 1.365 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003393/1.135, allocations: 0.5546 MB / 1.365 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/1.135, allocations: 110.3 kB / 1.365 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/1.135, allocations: 8.016 kB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/1.136, allocations: 6.047 kB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/1.136, allocations: 14.03 kB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/1.136, allocations: 5.938 kB / 1.365 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.288e-05/1.136, allocations: 94.36 kB / 1.365 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008152/1.136, allocations: 58.2 kB / 1.365 GB, free: 30.15 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.booToRea.u) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000245/1.137, allocations: 162.8 kB / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005255/1.137, allocations: 0.7598 MB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.137, allocations: 1.031 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/1.137, allocations: 49.75 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/1.138, allocations: 5.391 kB / 1.366 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/1.138, allocations: 153.8 kB / 1.366 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/1.138, allocations: 0.7194 MB / 1.367 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.138, allocations: 3.938 kB / 1.367 GB, free: 28.55 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.fmu > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat does not exist to compare? outputFormat=mat