Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",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.36/2.36, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001642/0.001641, allocations: 181.3 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.887/1.887, 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.001205/0.001204, allocations: 89.03 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2895/0.2908, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7129/1.004, allocations: 115.2 MB / 0.9627 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2225/1.226, allocations: 137.2 MB / 1.097 GB, free: 3.672 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.227, allocations: 72.89 kB / 1.097 GB, free: 3.602 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98: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.009462/1.236, allocations: 2.085 MB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.236, allocations: 8 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.445e-05/1.236, allocations: 3.906 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.236, allocations: 163.1 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/1.236, allocations: 4 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/1.237, allocations: 0.5625 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.618e-05/1.237, allocations: 8 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.343e-05/1.237, allocations: 38.81 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/1.237, allocations: 0 / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/1.237, allocations: 0.6094 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.237, allocations: 3.375 kB / 1.099 GB, free: 1.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/1.237, allocations: 138.1 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/1.237, allocations: 22.58 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/1.237, allocations: 15.45 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/1.237, allocations: 0.8906 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.516e-05/1.237, allocations: 46.55 kB / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/1.237, allocations: 0 / 1.099 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002079/1.237, allocations: 57.53 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/1.237, allocations: 63.38 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.371e-05/1.238, allocations: 90.16 kB / 1.099 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.238, allocations: 25.7 kB / 1.099 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/1.238, allocations: 81.11 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/1.238, allocations: 11.84 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/1.238, allocations: 0 / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.238, allocations: 319.5 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/1.238, allocations: 6.625 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/1.238, allocations: 27.44 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.237e-05/1.238, allocations: 15.12 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.238, allocations: 0 / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001467/1.238, allocations: 62.23 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.238, allocations: 8.516 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.238, allocations: 0.5938 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.238, allocations: 10.44 kB / 1.1 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.238, allocations: 4.594 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/1.238, allocations: 8.594 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/1.238, allocations: 0.6562 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/1.238, allocations: 8.469 kB / 1.1 GB, free: 148 kB / 0.698 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 9.49e-05/1.239, allocations: 106 kB / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/1.239, allocations: 0 / 1.1 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/1.239, allocations: 12.27 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.239, allocations: 2.516 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.239, allocations: 0 / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.239, allocations: 5.312 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/1.239, allocations: 134.2 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.239, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/1.239, allocations: 3.938 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.239, allocations: 2.312 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/1.239, allocations: 4 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.239, allocations: 0 / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.239, allocations: 0.5625 kB / 1.1 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001658/1.239, allocations: 73.81 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003628/1.24, allocations: 477.3 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/1.24, allocations: 82.33 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/1.24, allocations: 8.078 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/1.24, allocations: 4.531 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/1.24, allocations: 0.75 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.24, allocations: 7.906 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.292e-05/1.24, allocations: 77.16 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001229/1.241, allocations: 47.86 kB / 1.101 GB, free: 15.03 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.0004964/1.242, allocations: 158.3 kB / 1.101 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001365/1.242, allocations: 28.25 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.242, allocations: 4.188 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/1.242, allocations: 8 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/1.242, allocations: 4.672 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/1.242, allocations: 65.28 kB / 1.101 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/1.243, allocations: 0.6915 MB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of SimCode: time 1.232e-06/1.243, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)