Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.395/2.395, allocations: 248.6 MB / 255.9 MB, free: 1.18 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 186.1 kB / 315.1 MB, free: 9.582 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.1 MB / 0.5658 GB, free: 14.05 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001293/0.001292, allocations: 90.31 kB / 0.6699 GB, free: 52.02 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.275/0.2764, allocations: 112.4 MB / 0.7797 GB, free: 10.66 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.5573, allocations: 106.2 MB / 0.8835 GB, free: 308 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5901/1.147, allocations: 132.7 MB / 1.013 GB, free: 14.03 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/1.148, allocations: 71.95 kB / 1.013 GB, free: 13.96 MB / 0.659 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Controls/OBC/CDL/Utilities/SunRiseSet.mo:54:7-54:32:writable] Warning: timDif was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01863/1.166, allocations: 3.475 MB / 1.016 GB, free: 10.54 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.167, allocations: 8 kB / 1.016 GB, free: 10.53 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/1.167, allocations: 11.81 kB / 1.016 GB, free: 10.52 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/1.167, allocations: 167.1 kB / 1.017 GB, free: 10.31 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/1.167, allocations: 0 / 1.017 GB, free: 10.31 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/1.167, allocations: 4 kB / 1.017 GB, free: 10.31 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001912/1.167, allocations: 54.64 kB / 1.017 GB, free: 10.26 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/1.167, allocations: 84.23 kB / 1.017 GB, free: 10.16 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.167, allocations: 0 / 1.017 GB, free: 10.16 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/1.167, allocations: 4 kB / 1.017 GB, free: 10.16 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/1.167, allocations: 0 / 1.017 GB, free: 10.16 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/1.168, allocations: 497.6 kB / 1.017 GB, free: 9.625 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/1.169, allocations: 131.8 kB / 1.017 GB, free: 9.469 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/1.169, allocations: 47.52 kB / 1.017 GB, free: 9.414 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/1.169, allocations: 4 kB / 1.017 GB, free: 9.41 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/1.17, allocations: 97.98 kB / 1.018 GB, free: 9.293 MB / 0.659 GB Notification: Performance of pre-optimization done (n=11): time 2.625e-06/1.17, allocations: 0 / 1.018 GB, free: 9.293 MB / 0.659 GB Notification: Performance of matching and sorting (n=11): time 0.0004547/1.17, allocations: 103.6 kB / 1.018 GB, free: 9.188 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/1.17, allocations: 118.7 kB / 1.018 GB, free: 9.047 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.17, allocations: 113 kB / 1.018 GB, free: 8.93 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/1.17, allocations: 29.7 kB / 1.018 GB, free: 8.895 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/1.17, allocations: 88.33 kB / 1.018 GB, free: 8.801 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/1.17, allocations: 31.55 kB / 1.018 GB, free: 8.77 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/1.17, allocations: 0 / 1.018 GB, free: 8.77 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.171, allocations: 321.4 kB / 1.018 GB, free: 8.449 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/1.171, allocations: 28 kB / 1.018 GB, free: 8.422 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/1.171, allocations: 53.7 kB / 1.018 GB, free: 8.363 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/1.171, allocations: 36.84 kB / 1.018 GB, free: 8.328 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.171, allocations: 0 / 1.018 GB, free: 8.328 MB / 0.659 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004275/1.172, allocations: 140.9 kB / 1.019 GB, free: 8.188 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/1.172, allocations: 4 kB / 1.019 GB, free: 8.184 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.172, allocations: 0 / 1.019 GB, free: 8.184 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.172, allocations: 4 kB / 1.019 GB, free: 8.18 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/1.172, allocations: 15.98 kB / 1.019 GB, free: 8.164 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.172, allocations: 0 / 1.019 GB, free: 8.164 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/1.172, allocations: 15.94 kB / 1.019 GB, free: 8.148 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/1.172, allocations: 4 kB / 1.019 GB, free: 8.145 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 0.0001511/1.172, allocations: 120.6 kB / 1.019 GB, free: 8.023 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/1.172, allocations: 11.91 kB / 1.019 GB, free: 8.012 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004036/1.173, allocations: 106.1 kB / 1.019 GB, free: 7.914 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.173, allocations: 4 kB / 1.019 GB, free: 7.91 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.173, allocations: 0 / 1.019 GB, free: 7.91 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.173, allocations: 11.89 kB / 1.019 GB, free: 7.898 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/1.173, allocations: 178.2 kB / 1.019 GB, free: 7.688 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.173, allocations: 3.938 kB / 1.019 GB, free: 7.684 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/1.173, allocations: 19.98 kB / 1.019 GB, free: 7.664 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/1.173, allocations: 3.906 kB / 1.019 GB, free: 7.66 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/1.173, allocations: 8 kB / 1.019 GB, free: 7.652 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.173, allocations: 4 kB / 1.019 GB, free: 7.648 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.173, allocations: 0 / 1.019 GB, free: 7.648 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00044/1.174, allocations: 181.9 kB / 1.019 GB, free: 7.434 MB / 0.659 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005956/1.174, allocations: 0.5553 MB / 1.02 GB, free: 6.84 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.175, allocations: 100.9 kB / 1.02 GB, free: 6.723 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/1.175, allocations: 0 / 1.02 GB, free: 6.723 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/1.175, allocations: 15.98 kB / 1.02 GB, free: 6.707 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/1.175, allocations: 11.98 kB / 1.02 GB, free: 6.695 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/1.175, allocations: 6.875 kB / 1.02 GB, free: 6.691 MB / 0.659 GB Notification: Performance of sort global known variables: time 9.799e-05/1.175, allocations: 99.27 kB / 1.02 GB, free: 6.594 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.001274/1.176, allocations: 55.84 kB / 1.02 GB, free: 6.539 MB / 0.659 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.0003963/1.177, allocations: 158.6 kB / 1.02 GB, free: 6.379 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0007908/1.178, allocations: 0.7532 MB / 1.021 GB, free: 5.602 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.178, allocations: 3.938 kB / 1.021 GB, free: 5.598 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/1.178, allocations: 51.92 kB / 1.021 GB, free: 5.547 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.178, allocations: 11.38 kB / 1.021 GB, free: 5.539 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/1.179, allocations: 159.6 kB / 1.021 GB, free: 5.359 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/1.179, allocations: 0.7262 MB / 1.022 GB, free: 4.609 MB / 0.659 GB Notification: Performance of SimCode: time 1.032e-06/1.179, allocations: 0 / 1.022 GB, free: 4.609 MB / 0.659 GB