Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.974/1.974, allocations: 387.2 MB / 394.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 177.3 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.3 MB / 0.7819 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009098, allocations: 97.86 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4467/0.4477, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.6468, allocations: 142.3 MB / 1.205 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5609/1.208, allocations: 148.7 MB / 1.35 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/1.208, allocations: 73.78 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.005282/1.213, allocations: 2.079 MB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/1.213, allocations: 9.672 kB / 1.353 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/1.213, allocations: 9.219 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/1.213, allocations: 161.7 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.213, allocations: 5.188 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/1.213, allocations: 1.25 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.9e-05/1.213, allocations: 8.047 kB / 1.353 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.903e-05/1.213, allocations: 37.75 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/1.213, allocations: 0 / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/1.213, allocations: 2.859 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/1.213, allocations: 1.031 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.087e-05/1.214, allocations: 143.7 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/1.214, allocations: 21.58 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/1.214, allocations: 13.19 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/1.214, allocations: 0.5156 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/1.214, allocations: 60.08 kB / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/1.214, allocations: 0 / 1.353 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.000134/1.214, allocations: 51.52 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/1.214, allocations: 51.92 kB / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.598e-05/1.214, allocations: 90.05 kB / 1.353 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.557e-06/1.214, allocations: 33.14 kB / 1.353 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.198e-05/1.214, allocations: 84.88 kB / 1.353 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/1.214, allocations: 10.27 kB / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/1.214, allocations: 0 / 1.353 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.418e-05/1.214, allocations: 321.3 kB / 1.354 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/1.214, allocations: 4.844 kB / 1.354 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/1.214, allocations: 33.47 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/1.214, allocations: 11.97 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.214, allocations: 0 / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.072e-05/1.214, allocations: 62.22 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/1.214, allocations: 4.906 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.214, allocations: 1.344 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/1.214, allocations: 1.375 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/1.214, allocations: 12.16 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.214, allocations: 1.375 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/1.214, allocations: 2.875 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.214, allocations: 1.875 kB / 1.354 GB, free: 13.93 MB / 0.8073 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 4.012e-05/1.214, allocations: 115.7 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/1.214, allocations: 1.75 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/1.214, allocations: 4.344 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.214, allocations: 1.531 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/1.214, allocations: 0 / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.214, allocations: 4.562 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.587e-05/1.215, allocations: 131.9 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.215, allocations: 0.7969 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/1.215, allocations: 2.125 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.215, allocations: 1 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/1.215, allocations: 5.219 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.215, allocations: 1.125 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.215, allocations: 2.875 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.413e-05/1.215, allocations: 81.38 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00016/1.215, allocations: 478 kB / 1.355 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/1.215, allocations: 83.33 kB / 1.355 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/1.215, allocations: 0.625 kB / 1.355 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/1.215, allocations: 2.328 kB / 1.355 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/1.215, allocations: 6.078 kB / 1.355 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/1.215, allocations: 1.156 kB / 1.355 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.447e-05/1.215, allocations: 85.22 kB / 1.355 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008027/1.216, allocations: 44.22 kB / 1.355 GB, free: 12.94 MB / 0.8073 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.000278/1.216, allocations: 169.5 kB / 1.355 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.733e-05/1.216, allocations: 27 kB / 1.355 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/1.216, allocations: 0 / 1.355 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.328e-05/1.216, allocations: 11.5 kB / 1.355 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.181e-05/1.216, allocations: 5.422 kB / 1.355 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001581/1.216, allocations: 70.55 kB / 1.355 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/1.217, allocations: 0.6887 MB / 1.356 GB, free: 28.06 MB / 0.823 GB Notification: Performance of SimCode: time 3e-07/1.217, allocations: 3.938 kB / 1.356 GB, free: 28.05 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)