Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.Linear1D,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D",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.1.4-maint.8.1.x/package.mo): time 1.507/1.507, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001024/0.001024, allocations: 185.2 kB / 366.3 MB, free: 1.938 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.342/1.342, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009266/0.0009266, allocations: 84.84 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2457/0.2467, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6986/0.9454, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/1.127, allocations: 138.4 MB / 1.108 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.128, allocations: 78.64 kB / 1.108 GB, free: 10.02 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.006437/1.134, allocations: 2.193 MB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.134, allocations: 8 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/1.134, allocations: 8.406 kB / 1.11 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.134, allocations: 163.6 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/1.135, allocations: 5.281 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/1.135, allocations: 7.984 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.145e-05/1.135, allocations: 4 kB / 1.11 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.028e-05/1.135, allocations: 38.66 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.135, allocations: 1.219 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/1.135, allocations: 0 / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.135, allocations: 0.5312 kB / 1.11 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/1.135, allocations: 134.8 kB / 1.11 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.532e-05/1.135, allocations: 30.52 kB / 1.11 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/1.135, allocations: 12.86 kB / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.475e-06/1.135, allocations: 144 / 1.11 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.85e-05/1.135, allocations: 57.98 kB / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/1.135, allocations: 0 / 1.11 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001465/1.135, allocations: 53.59 kB / 1.11 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/1.135, allocations: 55.34 kB / 1.111 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.714e-05/1.135, allocations: 89 kB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/1.135, allocations: 25.7 kB / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/1.135, allocations: 89.27 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/1.135, allocations: 7.891 kB / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/1.135, allocations: 0 / 1.111 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001157/1.136, allocations: 318.8 kB / 1.111 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/1.136, allocations: 12 kB / 1.111 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/1.136, allocations: 29.86 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/1.136, allocations: 7.984 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.136, allocations: 4 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.469e-05/1.136, allocations: 61.56 kB / 1.111 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/1.136, allocations: 8.094 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.136, allocations: 0 / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.136, allocations: 4 kB / 1.111 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/1.136, allocations: 9.156 kB / 1.111 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.67e-05/1.136, allocations: 7.906 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/1.136, allocations: 0 / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/1.136, allocations: 11.98 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * 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 0.0001195/1.136, allocations: 108.9 kB / 1.111 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/1.136, allocations: 3.906 kB / 1.111 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/1.136, allocations: 11.97 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.136, allocations: 0 / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.136, allocations: 3.984 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.136, allocations: 0 / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/1.136, allocations: 130.2 kB / 1.111 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/1.136, allocations: 0 / 1.111 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/1.136, allocations: 3.906 kB / 1.111 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.136, allocations: 5.406 kB / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/1.136, allocations: 0 / 1.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.136, allocations: 3.984 kB / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.136, allocations: 0 / 1.111 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.898e-05/1.136, allocations: 84.97 kB / 1.112 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002382/1.137, allocations: 469.5 kB / 1.112 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/1.137, allocations: 85.02 kB / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/1.137, allocations: 0 / 1.112 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/1.137, allocations: 4 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/1.137, allocations: 96 / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/1.137, allocations: 7.984 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.252e-05/1.137, allocations: 75.28 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008421/1.138, allocations: 51.92 kB / 1.112 GB, free: 5.246 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003715/1.138, allocations: 185.3 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.614e-05/1.138, allocations: 24.23 kB / 1.112 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.138, allocations: 3.938 kB / 1.112 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/1.138, allocations: 12 kB / 1.112 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.384e-05/1.138, allocations: 5.297 kB / 1.112 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/1.139, allocations: 59.92 kB / 1.112 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/1.139, allocations: 0.6917 MB / 1.113 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.139, allocations: 0 / 1.113 GB, free: 4.234 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_Linear1D.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)