Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",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/Buildings 8.0.0/package.mo): time 2.371/2.371, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 177.3 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.1 MB / 0.6187 GB, free: 13.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001295, allocations: 87.3 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2657/0.2671, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.8749, allocations: 115.2 MB / 0.9627 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.97, allocations: 465.1 MB / 1.417 GB, free: 97.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.97, allocations: 95.19 kB / 1.417 GB, free: 97.45 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 6.643/8.614, allocations: 1.263 GB / 2.68 GB, free: 9.883 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/8.614, allocations: 12.5 kB / 2.68 GB, free: 9.871 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/8.62, allocations: 0.7158 MB / 2.681 GB, free: 9.148 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1253/8.745, allocations: 30.83 MB / 2.711 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002564/8.746, allocations: 88 kB / 2.711 GB, free: 9.988 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/8.748, allocations: 219.8 kB / 2.712 GB, free: 9.773 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01149/8.759, allocations: 3.083 MB / 2.715 GB, free: 6.684 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/8.773, allocations: 3.673 MB / 2.718 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/8.774, allocations: 3.938 kB / 2.718 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004976/8.774, allocations: 12 kB / 2.718 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/8.774, allocations: 71.98 kB / 2.718 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4839/9.258, allocations: 21.48 MB / 2.739 GB, free: 175.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007075/9.265, allocations: 2.696 MB / 2.742 GB, free: 175.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004188/9.27, allocations: 1.602 MB / 2.743 GB, free: 175.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02451/9.294, allocations: 9.736 MB / 2.753 GB, free: 171.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003736/9.298, allocations: 1.415 MB / 2.754 GB, free: 171.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=171): time 7.875e-06/9.298, allocations: 0 / 2.754 GB, free: 171.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=171): time 0.01104/9.309, allocations: 2.991 MB / 2.757 GB, free: 171.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/9.309, allocations: 123.2 kB / 2.757 GB, free: 171.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02411/9.333, allocations: 7.957 MB / 2.765 GB, free: 171 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0009036/9.334, allocations: 33.2 kB / 2.765 GB, free: 170.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003766/9.338, allocations: 1.469 MB / 2.767 GB, free: 170.5 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003784/9.342, allocations: 0.6087 MB / 2.767 GB, free: 170.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006122/9.343, allocations: 3.625 kB / 2.767 GB, free: 170.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005061/9.343, allocations: 462.6 kB / 2.768 GB, free: 169.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00545/9.349, allocations: 2.019 MB / 2.77 GB, free: 169.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006763/9.355, allocations: 3.553 MB / 2.773 GB, free: 167.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/9.363, allocations: 2.709 MB / 2.776 GB, free: 167.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-05/9.363, allocations: 17.14 kB / 2.776 GB, free: 167.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01959/9.383, allocations: 5.965 MB / 2.782 GB, free: 167.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005754/9.389, allocations: 24.51 MB / 2.805 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002339/9.389, allocations: 50.88 kB / 2.806 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/9.39, allocations: 252.3 kB / 2.806 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007584/9.398, allocations: 0.9211 MB / 2.807 GB, free: 142.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005101/9.403, allocations: 4.666 MB / 2.811 GB, free: 138.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/9.418, allocations: 1.183 MB / 2.812 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/9.419, allocations: 182.6 kB / 2.813 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/9.42, allocations: 6 kB / 2.813 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01618/9.436, allocations: 5.378 MB / 2.818 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/9.436, allocations: 51.03 kB / 2.818 GB, free: 138.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/9.437, allocations: 253.2 kB / 2.818 GB, free: 138.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007512/9.445, allocations: 0.9272 MB / 2.819 GB, free: 138.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/9.45, allocations: 4.669 MB / 2.824 GB, free: 135.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01465/9.464, allocations: 1.095 MB / 2.825 GB, free: 135 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/9.466, allocations: 184.1 kB / 2.825 GB, free: 135 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001774/9.467, allocations: 244.7 kB / 2.825 GB, free: 134.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002791/9.47, allocations: 0.5299 MB / 2.826 GB, free: 134.6 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/9.483, allocations: 3.369 MB / 2.829 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/9.483, allocations: 24.72 kB / 2.829 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/9.483, allocations: 0 / 2.829 GB, free: 134.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007791/9.491, allocations: 2.813 MB / 2.832 GB, free: 133.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02892/9.52, allocations: 9.51 MB / 2.841 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/9.52, allocations: 3.188 kB / 2.841 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004449/9.525, allocations: 424.8 kB / 2.841 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009796/9.526, allocations: 181.6 kB / 2.841 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006083/9.526, allocations: 70.53 kB / 2.842 GB, free: 133.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004689/9.531, allocations: 4.586 MB / 2.846 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/9.531, allocations: 0 / 2.846 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01311/9.544, allocations: 4.788 MB / 2.851 GB, free: 129 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0174/9.562, allocations: 7.063 MB / 2.858 GB, free: 127.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009483/9.571, allocations: 4.798 MB / 2.862 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002926/9.574, allocations: 53.33 kB / 2.862 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009929/9.584, allocations: 0.5316 MB / 2.863 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007358/9.585, allocations: 104.9 kB / 2.863 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002989/9.585, allocations: 65.47 kB / 2.863 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01695/9.602, allocations: 5.861 MB / 2.869 GB, free: 124.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02211/9.624, allocations: 3.613 MB / 2.872 GB, free: 124.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (sla1.vol[1].dynBal.U,sla1.con_a[1].lay[1].T[1],sla1.con_a[1].lay[1].T[2],sla1.con_a[1].lay[1].T[3],sla1.con_a[1].lay[1].T[4],sla1.con_a[1].lay[1].T[5],sla1.con_b[1].lay[1].T[1],sla1.con_b[1].lay[2].T[1],sla1.con_b[1].lay[2].T[2],sla2.vol[1].dynBal.U,sla2.con_a[1].lay[1].T[1],sla2.con_a[1].lay[1].T[2],sla2.con_a[1].lay[1].T[3],sla2.con_a[1].lay[1].T[4],sla2.con_a[1].lay[1].T[5],sla2.con_b[1].lay[1].T[1],sla2.con_b[1].lay[2].T[1],sla2.con_b[1].lay[2].T[2],sla3.sla.vol[1].dynBal.U,sla3.sla.con_a[1].lay[1].T[1],sla3.sla.con_a[1].lay[1].T[2],sla3.sla.con_a[1].lay[1].T[3],sla3.sla.con_a[1].lay[1].T[4],sla3.sla.con_a[1].lay[1].T[5],sla3.sla.con_b[1].lay[1].T[1],sla3.sla.con_b[1].lay[2].T[1],sla3.sla.con_b[1].lay[2].T[2],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005912/9.63, allocations: 1.733 MB / 2.874 GB, free: 123.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01809/9.649, allocations: 7.509 MB / 2.881 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/9.649, allocations: 1.125 kB / 2.881 GB, free: 123.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/9.652, allocations: 1.625 MB / 2.883 GB, free: 122.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01895/9.671, allocations: 2.103 MB / 2.885 GB, free: 122.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/9.713, allocations: 12.34 MB / 2.897 GB, free: 120.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01399/9.727, allocations: 4.919 MB / 2.902 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.583e-06/9.727, allocations: 0 / 2.902 GB, free: 120.1 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1)