Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor") [: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.14/2.14, allocations: 253.1 MB / 260.4 MB, free: 7.445 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.001653/0.001653, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.962/1.962, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00141/0.00141, allocations: 98.27 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.283e-05/1.298e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.746, allocations: 441.9 MB / 1.32 GB, free: 304.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/1.746, allocations: 86.95 kB / 1.32 GB, free: 304.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.9494/2.696, allocations: 281.3 MB / 1.594 GB, free: 20.13 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001228/2.696, allocations: 36 kB / 1.594 GB, free: 20.09 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.007042/2.703, allocations: 1.866 MB / 1.596 GB, free: 18.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/2.703, allocations: 12.03 kB / 1.596 GB, free: 18.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/2.704, allocations: 189.8 kB / 1.596 GB, free: 17.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004799/2.709, allocations: 1.367 MB / 1.598 GB, free: 16.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.822e-05/2.709, allocations: 48 kB / 1.598 GB, free: 16.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/2.71, allocations: 88 kB / 1.598 GB, free: 16.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007475/2.717, allocations: 2.266 MB / 1.6 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006633/2.724, allocations: 1.652 MB / 1.602 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.398e-05/2.724, allocations: 0 / 1.602 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/2.724, allocations: 0 / 1.602 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/2.724, allocations: 40 kB / 1.602 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/2.741, allocations: 4.998 MB / 1.607 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/2.745, allocations: 1.169 MB / 1.608 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/2.749, allocations: 1.347 MB / 1.609 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/2.751, allocations: 1.727 MB / 1.611 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.751, allocations: 60.56 kB / 1.611 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=237): time 5.02e-06/2.751, allocations: 4 kB / 1.611 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of matching and sorting (n=237): time 0.008954/2.76, allocations: 2.442 MB / 1.613 GB, free: 200 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/2.76, allocations: 77.41 kB / 1.613 GB, free: 112 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3515/3.112, allocations: 0.6619 MB / 1.614 GB, free: 295.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005553/3.112, allocations: 25.7 kB / 1.614 GB, free: 295 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/3.112, allocations: 355.7 kB / 1.614 GB, free: 294.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008279/3.113, allocations: 0.7637 MB / 1.615 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/3.113, allocations: 0 / 1.615 GB, free: 294.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001495/3.114, allocations: 389.8 kB / 1.615 GB, free: 294.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/3.116, allocations: 0.8512 MB / 1.616 GB, free: 294.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/3.118, allocations: 1.052 MB / 1.617 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0059/3.124, allocations: 1.302 MB / 1.619 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/3.124, allocations: 3.781 kB / 1.619 GB, free: 294.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01014/3.134, allocations: 2.541 MB / 1.621 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/3.134, allocations: 3.688 kB / 1.621 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/3.135, allocations: 3.625 kB / 1.621 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.588e-05/3.135, allocations: 15.44 kB / 1.621 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004311/3.139, allocations: 443.2 kB / 1.622 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.524e-05/3.139, allocations: 17.73 kB / 1.622 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/3.142, allocations: 171.2 kB / 1.622 GB, free: 293.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006815/3.143, allocations: 74.23 kB / 1.622 GB, free: 293.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0005552/3.143, allocations: 146.3 kB / 1.622 GB, free: 293.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005669/3.144, allocations: 141 kB / 1.622 GB, free: 293.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/3.156, allocations: 2.863 MB / 1.625 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.279e-05/3.156, allocations: 27.09 kB / 1.625 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/3.156, allocations: 0 / 1.625 GB, free: 293.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009117/3.165, allocations: 2.52 MB / 1.627 GB, free: 293.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/3.178, allocations: 4.245 MB / 1.631 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/3.178, allocations: 0 / 1.631 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/3.182, allocations: 408.2 kB / 1.632 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006518/3.182, allocations: 86.2 kB / 1.632 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/3.183, allocations: 24.47 kB / 1.632 GB, free: 292.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009767/3.184, allocations: 1.13 MB / 1.633 GB, free: 291.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/3.184, allocations: 0 / 1.633 GB, free: 291.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01255/3.196, allocations: 4.223 MB / 1.637 GB, free: 291.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/3.198, allocations: 497.3 kB / 1.638 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/3.198, allocations: 6.781 kB / 1.638 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/3.201, allocations: 73.98 kB / 1.638 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/3.201, allocations: 122.6 kB / 1.638 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/3.201, allocations: 74.53 kB / 1.638 GB, free: 291.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001106/3.202, allocations: 0.5158 MB / 1.638 GB, free: 291.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003609/3.206, allocations: 0.6123 MB / 1.639 GB, free: 291.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/3.208, allocations: 0.5671 MB / 1.64 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006681/3.215, allocations: 2.201 MB / 1.642 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/3.215, allocations: 0 / 1.642 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003959/3.219, allocations: 1.234 MB / 1.643 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/3.224, allocations: 464.6 kB / 1.643 GB, free: 291.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/3.235, allocations: 3.166 MB / 1.647 GB, free: 290.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/3.237, allocations: 1.564 MB / 1.648 GB, free: 289.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.513e-06/3.237, allocations: 3.281 kB / 1.648 GB, free: 289.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.07899/3.316, allocations: 31.1 MB / 1.678 GB, free: 289.5 MB / 0.8698 GB