Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.329/2.329, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002229/0.002229, allocations: 177.3 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 81.33 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.279e-05/1.293e-05, allocations: 4 kB / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6092/0.6093, allocations: 115.2 MB / 0.9628 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/0.8237, allocations: 139 MB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.8241, allocations: 82.3 kB / 1.099 GB, free: 1.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01407/0.8382, allocations: 2.967 MB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.8382, allocations: 0.625 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006932/0.8389, allocations: 440.7 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.839, allocations: 8.031 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.8391, allocations: 19.72 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.8395, allocations: 231.7 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.8395, allocations: 4 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.8395, allocations: 0.5156 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001437/0.8397, allocations: 28 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.8399, allocations: 84.84 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8399, allocations: 4 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.84, allocations: 4.844 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.84, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.8409, allocations: 365.7 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.07e-05/0.841, allocations: 28.55 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/0.841, allocations: 12.92 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.8411, allocations: 0.6562 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.8412, allocations: 81.86 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.8413, allocations: 0 / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002257/0.8415, allocations: 61.95 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.8416, allocations: 77.11 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.8419, allocations: 202 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.8419, allocations: 25.7 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.842, allocations: 113.5 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.842, allocations: 7.906 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.842, allocations: 0 / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.8422, allocations: 326.8 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.8422, allocations: 8 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.8423, allocations: 35.42 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.8424, allocations: 8.031 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8424, allocations: 3.906 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001722/0.8426, allocations: 73.44 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8426, allocations: 7.938 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8426, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.8426, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.8428, allocations: 20.64 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.8429, allocations: 7.938 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.843, allocations: 17.48 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.8431, allocations: 0 / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.341e-05/0.8432, allocations: 105.8 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.8432, allocations: 25.31 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.8433, allocations: 21.02 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-06/0.8433, allocations: 0.6562 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8433, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.8433, allocations: 0 / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.8436, allocations: 194.1 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8436, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.8438, allocations: 19.98 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8438, allocations: 3.906 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.8438, allocations: 2.125 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.8438, allocations: 0 / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.8438, allocations: 4 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002385/0.8441, allocations: 93.42 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.8442, allocations: 88.92 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.8442, allocations: 4.5 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.8444, allocations: 19.98 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.8445, allocations: 7.906 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.8445, allocations: 4.656 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002321/0.8448, allocations: 160.7 kB / 1.104 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003247/0.8451, allocations: 16 kB / 1.104 GB, free: 11.48 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0003392/0.8455, allocations: 133 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.8456, allocations: 16 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8457, allocations: 0 / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.8457, allocations: 20.12 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.8461, allocations: 36.05 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.8468, allocations: 188.4 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.8473, allocations: 0.7383 MB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.8473, allocations: 4 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.00664/0.8539, allocations: 1.547 MB / 1.107 GB, free: 8.809 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter.pipe 2>&1)