Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.592/2.592, allocations: 248.6 MB / 255.9 MB, free: 7.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002565/0.002565, allocations: 191.6 kB / 315.1 MB, free: 4.289 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.04/2.04, allocations: 205.1 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 102.7 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5143/0.5159, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.7175, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7012/1.419, allocations: 131.9 MB / 1.012 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.419, allocations: 72.33 kB / 1.012 GB, free: 8.277 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01063/1.43, allocations: 2.073 MB / 1.014 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.43, allocations: 8 kB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/1.43, allocations: 0 / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/1.43, allocations: 175 kB / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/1.43, allocations: 0 / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/1.43, allocations: 0 / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.871e-05/1.43, allocations: 15.58 kB / 1.015 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/1.43, allocations: 33.69 kB / 1.015 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.43, allocations: 7.938 kB / 1.015 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.43, allocations: 0 / 1.015 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.431, allocations: 0 / 1.015 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/1.431, allocations: 133 kB / 1.015 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/1.431, allocations: 29.95 kB / 1.015 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/1.431, allocations: 11.42 kB / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/1.431, allocations: 0 / 1.015 GB, free: 5.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/1.431, allocations: 57.66 kB / 1.015 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/1.431, allocations: 4 kB / 1.015 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002227/1.431, allocations: 45.25 kB / 1.015 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/1.431, allocations: 51.41 kB / 1.015 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/1.431, allocations: 95.3 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.431, allocations: 25.7 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/1.431, allocations: 80.27 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/1.432, allocations: 15.28 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/1.432, allocations: 0 / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.432, allocations: 318.8 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/1.432, allocations: 11.38 kB / 1.015 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.504e-05/1.432, allocations: 30.55 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/1.432, allocations: 13.12 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.432, allocations: 0 / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000147/1.432, allocations: 57.19 kB / 1.016 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.432, allocations: 4 kB / 1.016 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.432, allocations: 0 / 1.016 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/1.432, allocations: 4 kB / 1.016 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.432, allocations: 7.984 kB / 1.016 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/1.432, allocations: 7.906 kB / 1.016 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/1.432, allocations: 3.938 kB / 1.016 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/1.432, allocations: 12.03 kB / 1.016 GB, free: 5.098 MB / 0.6355 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.0001073/1.433, allocations: 101 kB / 1.016 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/1.433, allocations: 3.906 kB / 1.016 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/1.433, allocations: 11.62 kB / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.433, allocations: 0 / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.433, allocations: 0 / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.433, allocations: 0 / 1.016 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/1.433, allocations: 137.2 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.433, allocations: 96 / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/1.433, allocations: 4 kB / 1.016 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/1.433, allocations: 7.891 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.433, allocations: 7.984 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.433, allocations: 0.75 kB / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.433, allocations: 0 / 1.016 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001787/1.433, allocations: 76.19 kB / 1.016 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003578/1.433, allocations: 474.9 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/1.434, allocations: 85.02 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/1.434, allocations: 4 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/1.434, allocations: 0 / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/1.434, allocations: 4.078 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/1.434, allocations: 4 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.135e-05/1.434, allocations: 78.72 kB / 1.017 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001526/1.435, allocations: 43.38 kB / 1.017 GB, free: 4.004 MB / 0.6355 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.0005165/1.436, allocations: 171.9 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001404/1.436, allocations: 23.31 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.436, allocations: 0 / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/1.436, allocations: 11.94 kB / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/1.436, allocations: 4.188 kB / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/1.437, allocations: 82.59 kB / 1.017 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/1.437, allocations: 0.6876 MB / 1.018 GB, free: 3 MB / 0.6355 GB Notification: Performance of SimCode: time 9.11e-07/1.437, allocations: 0 / 1.018 GB, free: 3 MB / 0.6355 GB