Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.318/2.318, allocations: 248.6 MB / 255.9 MB, free: 348 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00321/0.003209, allocations: 192.1 kB / 315.1 MB, free: 7.738 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.259/2.259, allocations: 205.1 MB / 0.5658 GB, free: 25.44 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 87.89 kB / 0.67 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.329/0.3307, allocations: 112.4 MB / 0.7797 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.8981, allocations: 106.2 MB / 0.8835 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/1.122, allocations: 132.6 MB / 1.013 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/1.123, allocations: 83.94 kB / 1.013 GB, free: 8.34 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01601/1.139, allocations: 2.978 MB / 1.016 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.139, allocations: 11.94 kB / 1.016 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/1.139, allocations: 11.91 kB / 1.016 GB, free: 5.281 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/1.139, allocations: 170.9 kB / 1.016 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/1.139, allocations: 0 / 1.016 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/1.139, allocations: 11.92 kB / 1.016 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001196/1.139, allocations: 27.94 kB / 1.016 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/1.139, allocations: 57.67 kB / 1.016 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/1.14, allocations: 0 / 1.016 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/1.14, allocations: 4 kB / 1.016 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/1.14, allocations: 3.906 kB / 1.016 GB, free: 4.965 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/1.14, allocations: 257.4 kB / 1.017 GB, free: 4.676 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/1.14, allocations: 46.47 kB / 1.017 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/1.14, allocations: 20.98 kB / 1.017 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/1.14, allocations: 11.94 kB / 1.017 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/1.141, allocations: 71.45 kB / 1.017 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/1.141, allocations: 0 / 1.017 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0002774/1.141, allocations: 77.56 kB / 1.017 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/1.141, allocations: 55.41 kB / 1.017 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.141, allocations: 114.7 kB / 1.017 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/1.141, allocations: 25.7 kB / 1.017 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/1.141, allocations: 88.33 kB / 1.017 GB, free: 4.113 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/1.141, allocations: 15.75 kB / 1.017 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.141, allocations: 0 / 1.017 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001571/1.141, allocations: 326.7 kB / 1.017 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/1.141, allocations: 12 kB / 1.017 GB, free: 3.758 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/1.142, allocations: 53.09 kB / 1.017 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.191e-05/1.142, allocations: 23.97 kB / 1.017 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.142, allocations: 0 / 1.017 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002804/1.142, allocations: 93.45 kB / 1.017 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.142, allocations: 4 kB / 1.017 GB, free: 3.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.142, allocations: 4.156 kB / 1.018 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/1.142, allocations: 4 kB / 1.018 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/1.142, allocations: 19.92 kB / 1.018 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.142, allocations: 4 kB / 1.018 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/1.143, allocations: 4 kB / 1.018 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/1.143, allocations: 4 kB / 1.018 GB, free: 3.523 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001812/1.143, allocations: 112.8 kB / 1.018 GB, free: 3.406 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/1.143, allocations: 15.89 kB / 1.018 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.231e-05/1.143, allocations: 8.375 kB / 1.018 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.143, allocations: 0 / 1.018 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.143, allocations: 0 / 1.018 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.143, allocations: 0 / 1.018 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/1.144, allocations: 323 kB / 1.018 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.144, allocations: 0 / 1.018 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/1.144, allocations: 11.92 kB / 1.018 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.144, allocations: 4 kB / 1.018 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/1.144, allocations: 0 / 1.018 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/1.144, allocations: 0 / 1.018 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.144, allocations: 4 kB / 1.018 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003062/1.144, allocations: 171.4 kB / 1.018 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005077/1.145, allocations: 0.5466 MB / 1.019 GB, free: 2.254 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/1.145, allocations: 85.02 kB / 1.019 GB, free: 2.152 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/1.145, allocations: 7.922 kB / 1.019 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/1.145, allocations: 4 kB / 1.019 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/1.145, allocations: 15.98 kB / 1.019 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/1.145, allocations: 0 / 1.019 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.349e-05/1.145, allocations: 88.16 kB / 1.019 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001291/1.146, allocations: 59.86 kB / 1.019 GB, free: 1.98 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005124/1.147, allocations: 160.8 kB / 1.019 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002304/1.147, allocations: 59.86 kB / 1.019 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.147, allocations: 0 / 1.019 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/1.147, allocations: 24.31 kB / 1.019 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/1.148, allocations: 11.91 kB / 1.019 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/1.148, allocations: 103.6 kB / 1.019 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/1.149, allocations: 0.7045 MB / 1.02 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of SimCode: time 7.51e-07/1.149, allocations: 0 / 1.02 GB, free: 0.8828 MB / 0.6667 GB