Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",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 8.0.0/package.mo): time 2.549/2.549, allocations: 284.8 MB / 292.1 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001621/0.00162, allocations: 187.5 kB / 360.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 85.3 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2692/0.2704, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.9055, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2369/1.142, allocations: 139.2 MB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004349/1.143, allocations: 81.03 kB / 1.099 GB, free: 1.586 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01766/1.161, allocations: 3.283 MB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.161, allocations: 8.5 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/1.161, allocations: 11.91 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/1.161, allocations: 178.9 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.161, allocations: 34.2 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/1.161, allocations: 4 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000155/1.161, allocations: 35.31 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.161, allocations: 65.56 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.162, allocations: 1.625 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/1.162, allocations: 4.609 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.162, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/1.163, allocations: 301.3 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/1.163, allocations: 50.61 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.163, allocations: 33.59 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/1.163, allocations: 8 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/1.163, allocations: 71.39 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.796e-06/1.163, allocations: 4 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003737/1.164, allocations: 97.5 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/1.164, allocations: 51.41 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/1.164, allocations: 125.8 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/1.164, allocations: 25.7 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/1.164, allocations: 88.53 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/1.164, allocations: 27.69 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/1.164, allocations: 0 / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.164, allocations: 322.8 kB / 1.103 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/1.164, allocations: 20 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/1.164, allocations: 61.09 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/1.165, allocations: 32.44 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.165, allocations: 0.8438 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002859/1.165, allocations: 102.1 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.165, allocations: 7.906 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.165, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.165, allocations: 4.125 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/1.165, allocations: 27.92 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.165, allocations: 4 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/1.165, allocations: 16.48 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/1.165, allocations: 8 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000119/1.166, allocations: 120.8 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/1.166, allocations: 11.81 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/1.166, allocations: 12.5 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/1.166, allocations: 1.641 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.166, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.166, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/1.167, allocations: 367.6 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.167, allocations: 4 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/1.167, allocations: 7.984 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/1.167, allocations: 4 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/1.167, allocations: 6.109 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.167, allocations: 0 / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.167, allocations: 4.844 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005041/1.168, allocations: 196.1 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00067/1.168, allocations: 0.5658 MB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/1.169, allocations: 85.02 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/1.169, allocations: 3.984 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.169, allocations: 16 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/1.169, allocations: 11.97 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/1.169, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001295/1.169, allocations: 99.27 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002255/1.172, allocations: 51.88 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0007425/1.172, allocations: 176 kB / 1.105 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003842/1.173, allocations: 67.91 kB / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.173, allocations: 0 / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/1.173, allocations: 47.91 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/1.174, allocations: 19.39 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/1.174, allocations: 116.3 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/1.175, allocations: 0.7171 MB / 1.106 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/1.175, allocations: 0 / 1.106 GB, free: 9.543 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1)