Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",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/BuildSysPro 3.5.0/package.mo): time 0.7697/0.7697, allocations: 127.3 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 193.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 88.25 kB / 476.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.356/0.3572, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.5587, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.816, allocations: 370.7 MB / 0.983 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004159/1.817, allocations: 97.19 kB / 0.9831 GB, free: 111.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 12.73/14.55, allocations: 2.641 GB / 3.624 GB, free: 33.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/14.55, allocations: 10.44 kB / 3.624 GB, free: 33.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00614/14.55, allocations: 0.7713 MB / 3.625 GB, free: 33.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1696/14.72, allocations: 58.9 MB / 3.682 GB, free: 29.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/14.72, allocations: 130.5 kB / 3.682 GB, free: 29.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/14.72, allocations: 257.6 kB / 3.683 GB, free: 29.84 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008863/14.73, allocations: 2.504 MB / 3.685 GB, free: 29.81 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00978/14.74, allocations: 3.551 MB / 3.689 GB, free: 29.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/14.74, allocations: 18.31 kB / 3.689 GB, free: 29.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/14.74, allocations: 10.31 kB / 3.689 GB, free: 29.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/14.74, allocations: 117.7 kB / 3.689 GB, free: 29.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/14.77, allocations: 26.36 MB / 3.714 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/14.78, allocations: 1.074 MB / 3.715 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/14.78, allocations: 1.052 MB / 3.716 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002855/14.78, allocations: 3.615 MB / 3.72 GB, free: 24.15 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/14.78, allocations: 57.94 kB / 3.72 GB, free: 24.11 MB / 0.823 GB Notification: Performance of pre-optimization done (n=220): time 4.939e-06/14.78, allocations: 0 / 3.72 GB, free: 24.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=220): time 0.02194/14.8, allocations: 4.133 MB / 3.724 GB, free: 23.71 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/14.8, allocations: 81.16 kB / 3.724 GB, free: 23.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007871/14.81, allocations: 3.203 MB / 3.727 GB, free: 23.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009207/14.81, allocations: 32.3 kB / 3.727 GB, free: 23.31 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002235/14.81, allocations: 1.719 MB / 3.729 GB, free: 22.42 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001832/14.81, allocations: 0.7386 MB / 3.73 GB, free: 21.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/14.81, allocations: 0 / 3.73 GB, free: 21.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002899/14.82, allocations: 410.3 kB / 3.73 GB, free: 21.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/14.82, allocations: 0.7737 MB / 3.731 GB, free: 21.61 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/14.82, allocations: 1.781 MB / 3.733 GB, free: 20.38 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004616/14.82, allocations: 1.442 MB / 3.734 GB, free: 20.35 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/14.82, allocations: 6.812 kB / 3.734 GB, free: 20.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.02171/14.85, allocations: 4.45 MB / 3.738 GB, free: 19.97 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.007902/14.85, allocations: 11.4 MB / 3.75 GB, free: 8.105 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/14.85, allocations: 21.53 kB / 3.75 GB, free: 8.105 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/14.86, allocations: 0.5303 MB / 3.75 GB, free: 8.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/14.86, allocations: 0.5108 MB / 3.751 GB, free: 8.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/14.86, allocations: 2.996 MB / 3.753 GB, free: 5.977 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007829/14.87, allocations: 0.5537 MB / 3.754 GB, free: 5.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009537/14.87, allocations: 140.3 kB / 3.754 GB, free: 5.84 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/14.87, allocations: 5.875 kB / 3.754 GB, free: 5.84 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007371/14.88, allocations: 2.778 MB / 3.757 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/14.88, allocations: 24.59 kB / 3.757 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008597/14.88, allocations: 364.6 kB / 3.757 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/14.88, allocations: 0.5188 MB / 3.758 GB, free: 5.711 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/14.89, allocations: 7.189 MB / 3.765 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008298/14.9, allocations: 454.8 kB / 3.765 GB, free: 16.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007669/14.9, allocations: 129 kB / 3.765 GB, free: 16.46 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (290): * Single equations (assignments): 286 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001196/14.9, allocations: 184.4 kB / 3.765 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/14.9, allocations: 0.4971 MB / 3.766 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/14.92, allocations: 4.835 MB / 3.771 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/14.92, allocations: 35.08 kB / 3.771 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/14.92, allocations: 0 / 3.771 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01664/14.94, allocations: 3.479 MB / 3.774 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04276/14.98, allocations: 8.93 MB / 3.783 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/14.98, allocations: 3.891 kB / 3.783 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/14.98, allocations: 373.1 kB / 3.783 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009646/14.98, allocations: 391.3 kB / 3.784 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005155/14.99, allocations: 43.91 kB / 3.784 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/15.01, allocations: 8.054 MB / 3.791 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/15.01, allocations: 2.734 kB / 3.791 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02348/15.03, allocations: 5.479 MB / 3.797 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02818/15.06, allocations: 7.613 MB / 3.804 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006089/15.06, allocations: 0.9183 MB / 3.805 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003189/15.07, allocations: 7.406 kB / 3.805 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007459/15.08, allocations: 434.9 kB / 3.806 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007254/15.08, allocations: 133.1 kB / 3.806 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007365/15.08, allocations: 98.56 kB / 3.806 GB, free: 7.039 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.008209/15.08, allocations: 2.369 MB / 3.808 GB, free: 6.859 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0277/15.11, allocations: 4.815 MB / 3.813 GB, free: 6.316 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009028/15.12, allocations: 3.528 MB / 3.816 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01173/15.13, allocations: 4.299 MB / 3.82 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/15.13, allocations: 1.5 kB / 3.82 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003488/15.14, allocations: 1.681 MB / 3.822 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01749/15.15, allocations: 2.522 MB / 3.825 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/15.18, allocations: 7.41 MB / 3.832 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006985/15.19, allocations: 3.454 MB / 3.835 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of SimCode: time 1.052e-06/15.19, allocations: 0 / 3.835 GB, free: 0.7305 MB / 0.8386 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)