Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.739/0.739, allocations: 141.8 MB / 149.1 MB, free: 3.777 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 177.2 kB / 181.9 MB, free: 15.54 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.4 MB / 436 MB, free: 8.676 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 97.8 kB / 0.507 GB, free: 24.25 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001883, allocations: 276.5 kB / 0.5884 GB, free: 11.73 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.662e-06, allocations: 0 / 0.6759 GB, free: 2.105 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5228, allocations: 82.77 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.406/4.929, allocations: 1.832 GB / 2.589 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/4.93, allocations: 86.3 kB / 2.589 GB, free: 199.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 7.457/12.39, allocations: 2.092 GB / 4.681 GB, free: 6.957 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0002183/12.39, allocations: 47.98 kB / 4.681 GB, free: 6.91 MB / 0.745 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.005521/12.39, allocations: 1.641 MB / 4.682 GB, free: 5.223 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/12.39, allocations: 16.03 kB / 4.682 GB, free: 5.207 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/12.39, allocations: 198.2 kB / 4.683 GB, free: 5.012 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/12.4, allocations: 0.9564 MB / 4.683 GB, free: 4.004 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/12.4, allocations: 89.41 kB / 4.684 GB, free: 3.902 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/12.4, allocations: 52 kB / 4.684 GB, free: 3.852 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009152/12.4, allocations: 403.8 kB / 4.684 GB, free: 3.457 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/12.4, allocations: 0.7575 MB / 4.685 GB, free: 2.609 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/12.4, allocations: 11.92 kB / 4.685 GB, free: 2.598 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/12.4, allocations: 4 kB / 4.685 GB, free: 2.594 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/12.4, allocations: 22.08 kB / 4.685 GB, free: 2.574 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4137/12.81, allocations: 4.62 MB / 4.689 GB, free: 123.2 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/12.81, allocations: 383.2 kB / 4.69 GB, free: 122.8 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/12.81, allocations: 233.9 kB / 4.69 GB, free: 122.7 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/12.81, allocations: 104.4 kB / 4.69 GB, free: 122.6 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/12.81, allocations: 52.38 kB / 4.69 GB, free: 122.6 MB / 0.745 GB Notification: Performance of pre-optimization done (n=31): time 2.755e-06/12.81, allocations: 0 / 4.69 GB, free: 122.6 MB / 0.745 GB Notification: Performance of matching and sorting (n=31): time 0.00112/12.81, allocations: 392.1 kB / 4.69 GB, free: 122.6 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/12.81, allocations: 402.2 kB / 4.691 GB, free: 122.1 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007627/12.82, allocations: 0.6609 MB / 4.691 GB, free: 121.9 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/12.82, allocations: 29.61 kB / 4.691 GB, free: 121.9 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/12.82, allocations: 392.6 kB / 4.692 GB, free: 121.8 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/12.82, allocations: 100.4 kB / 4.692 GB, free: 121.7 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/12.82, allocations: 0 / 4.692 GB, free: 121.7 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/12.82, allocations: 324.3 kB / 4.692 GB, free: 121.4 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-05/12.82, allocations: 67.14 kB / 4.692 GB, free: 121.4 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/12.82, allocations: 349.5 kB / 4.693 GB, free: 121.1 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/12.82, allocations: 120.8 kB / 4.693 GB, free: 121.1 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/12.82, allocations: 0 / 4.693 GB, free: 121.1 MB / 0.745 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005289/12.82, allocations: 402 kB / 4.693 GB, free: 121 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/12.82, allocations: 6.562 kB / 4.693 GB, free: 121 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/12.82, allocations: 5.969 kB / 4.693 GB, free: 121 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/12.82, allocations: 64.06 kB / 4.693 GB, free: 121 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/12.82, allocations: 66.14 kB / 4.693 GB, free: 121 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/12.82, allocations: 2.762 MB / 4.696 GB, free: 118.5 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/12.82, allocations: 60.78 kB / 4.696 GB, free: 118.5 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/12.82, allocations: 25.98 kB / 4.696 GB, free: 118.5 MB / 0.745 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/12.82, allocations: 120.2 kB / 4.696 GB, free: 118.3 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/12.82, allocations: 106.5 kB / 4.696 GB, free: 118.3 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/12.82, allocations: 93.17 kB / 4.696 GB, free: 118.3 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/12.82, allocations: 13.44 kB / 4.696 GB, free: 118.3 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/12.82, allocations: 10.94 kB / 4.696 GB, free: 118.3 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/12.82, allocations: 3.781 kB / 4.696 GB, free: 118.3 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/12.82, allocations: 2.353 MB / 4.699 GB, free: 116.8 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/12.82, allocations: 8.531 kB / 4.699 GB, free: 116.8 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/12.82, allocations: 48.69 kB / 4.699 GB, free: 116.8 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/12.82, allocations: 74.19 kB / 4.699 GB, free: 116.8 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/12.82, allocations: 6.594 kB / 4.699 GB, free: 116.8 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/12.83, allocations: 2.765 MB / 4.701 GB, free: 114.3 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/12.83, allocations: 10.84 kB / 4.701 GB, free: 114.3 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006781/12.83, allocations: 0.8568 MB / 4.702 GB, free: 113.6 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/12.83, allocations: 206 kB / 4.703 GB, free: 113.4 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/12.83, allocations: 11.66 kB / 4.703 GB, free: 113.4 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/12.83, allocations: 59.25 kB / 4.703 GB, free: 113.4 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/12.83, allocations: 36.97 kB / 4.703 GB, free: 113.4 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/12.83, allocations: 18.03 kB / 4.703 GB, free: 113.4 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.0005613/12.83, allocations: 0.5117 MB / 4.703 GB, free: 113.3 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.002129/12.83, allocations: 0.5189 MB / 4.704 GB, free: 113.3 MB / 0.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005342/12.84, allocations: 3.922 MB / 4.707 GB, free: 111.8 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.0008675/12.84, allocations: 448.8 kB / 4.708 GB, free: 111.5 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/12.84, allocations: 0 / 4.708 GB, free: 111.5 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.0003762/12.84, allocations: 356.8 kB / 4.708 GB, free: 111.3 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/12.84, allocations: 406.7 kB / 4.709 GB, free: 111.3 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/12.84, allocations: 1.291 MB / 4.71 GB, free: 110.8 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/12.84, allocations: 1.216 MB / 4.711 GB, free: 110.1 MB / 0.745 GB Notification: Performance of SimCode: time 1.904e-06/12.84, allocations: 0 / 4.711 GB, free: 110.1 MB / 0.745 GB Notification: Performance of Templates: time 0.05397/12.9, allocations: 31.92 MB / 4.742 GB, free: 109.6 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)