Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") [: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 7.0.1/package.mo): time 2.24/2.24, allocations: 253.1 MB / 260.4 MB, free: 7.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001662/0.001662, allocations: 181.3 kB / 319.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001338, allocations: 83.39 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.978e-06/1.016e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2199, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7511/0.9711, allocations: 133.8 MB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004052/0.9715, allocations: 79.14 kB / 1.019 GB, free: 4.562 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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: Performance of FrontEnd: time 0.02374/0.9953, allocations: 3.128 MB / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.9953, allocations: 0 / 1.022 GB, free: 1.961 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008366/0.9962, allocations: 472.5 kB / 1.022 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.9963, allocations: 12.03 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.9963, allocations: 7.906 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.9965, allocations: 174.9 kB / 1.023 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.9966, allocations: 6.938 kB / 1.023 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.9966, allocations: 4 kB / 1.023 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00014/0.9968, allocations: 30.48 kB / 1.023 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.997, allocations: 64.03 kB / 1.023 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.997, allocations: 0 / 1.023 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.997, allocations: 4 kB / 1.023 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.997, allocations: 0 / 1.023 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006335/0.9977, allocations: 305.2 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.9979, allocations: 55.33 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.998, allocations: 39.22 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.998, allocations: 0 / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.9982, allocations: 77.33 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.893e-06/0.9982, allocations: 0 / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005427/0.9988, allocations: 114.4 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.9988, allocations: 55.06 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.999, allocations: 111.5 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.999, allocations: 29.7 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.9991, allocations: 103.3 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.9991, allocations: 15.69 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-06/0.9991, allocations: 0 / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.9993, allocations: 326.4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.9994, allocations: 18.62 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.9995, allocations: 57.33 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/0.9995, allocations: 26.92 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.9996, allocations: 0 / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002384/0.9998, allocations: 95.3 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.9998, allocations: 14.84 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9998, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.9999, allocations: 4 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/1, allocations: 19.55 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1, allocations: 3.938 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/1, allocations: 11.91 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/1, allocations: 7.984 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.951e-05/1, allocations: 115.5 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/1, allocations: 7.906 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/1, allocations: 7.938 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1, allocations: 6.812 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1, allocations: 0 / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/1.001, allocations: 376.3 kB / 1.025 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.001, allocations: 0 / 1.025 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/1.001, allocations: 8 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/1.001, allocations: 4.047 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.001, allocations: 7.891 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/1.001, allocations: 3.984 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.001, allocations: 0 / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004894/1.002, allocations: 206.6 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/1.002, allocations: 81.02 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/1.002, allocations: 4 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/1.002, allocations: 15.98 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/1.002, allocations: 3.906 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/1.002, allocations: 7.984 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.36e-05/1.002, allocations: 93.66 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005134/1.003, allocations: 62.98 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005872/1.004, allocations: 200.3 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002465/1.004, allocations: 59.86 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.004, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/1.004, allocations: 33.92 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/1.004, allocations: 11.62 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/1.005, allocations: 121.8 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/1.005, allocations: 0.7036 MB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/1.005, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of Templates: time 0.007324/1.012, allocations: 2.051 MB / 1.028 GB, free: 11.52 MB / 0.6511 GB