Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001274/0.001274, allocations: 181.3 kB / 366.3 MB, free: 2.008 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.58/1.58, allocations: 205.1 MB / 0.6256 GB, free: 5.926 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.0009523/0.0009523, allocations: 81.34 kB / 0.7395 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2774/0.2784, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6857/0.9641, allocations: 116.3 MB / 0.9727 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.974, allocations: 466.1 MB / 1.428 GB, free: 23.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.974, allocations: 101 kB / 1.428 GB, free: 23.57 MB / 0.823 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 5.078/7.052, allocations: 1.264 GB / 2.692 GB, free: 11.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/7.052, allocations: 8 kB / 2.692 GB, free: 11.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007286/7.059, allocations: 0.718 MB / 2.692 GB, free: 10.68 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7276/7.787, allocations: 30.82 MB / 2.722 GB, free: 184 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/7.787, allocations: 88.62 kB / 2.723 GB, free: 184 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001694/7.789, allocations: 216.3 kB / 2.723 GB, free: 184 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006763/7.795, allocations: 3.085 MB / 2.726 GB, free: 184 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007039/7.802, allocations: 3.668 MB / 2.729 GB, free: 183.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.409e-05/7.803, allocations: 10.16 kB / 2.729 GB, free: 183.5 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/7.803, allocations: 6.938 kB / 2.729 GB, free: 183.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-05/7.803, allocations: 76.67 kB / 2.729 GB, free: 183.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03924/7.842, allocations: 21.48 MB / 2.75 GB, free: 176.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/7.847, allocations: 2.716 MB / 2.753 GB, free: 176.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002166/7.849, allocations: 1.593 MB / 2.755 GB, free: 176.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/7.868, allocations: 9.721 MB / 2.764 GB, free: 173.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002097/7.87, allocations: 1.413 MB / 2.765 GB, free: 173.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=171): time 3.577e-06/7.87, allocations: 0 / 2.765 GB, free: 173.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=171): time 0.007805/7.878, allocations: 2.993 MB / 2.768 GB, free: 172.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/7.878, allocations: 123.2 kB / 2.769 GB, free: 172.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02082/7.899, allocations: 7.968 MB / 2.776 GB, free: 172.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009858/7.9, allocations: 28.55 kB / 2.776 GB, free: 172.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/7.903, allocations: 1.472 MB / 2.778 GB, free: 171.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002845/7.906, allocations: 0.6113 MB / 2.778 GB, free: 171.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/7.906, allocations: 6.094 kB / 2.778 GB, free: 171.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003907/7.907, allocations: 462.2 kB / 2.779 GB, free: 171.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/7.909, allocations: 2.015 MB / 2.781 GB, free: 171.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004053/7.914, allocations: 3.553 MB / 2.784 GB, free: 169.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004564/7.918, allocations: 2.712 MB / 2.787 GB, free: 169.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.089e-05/7.918, allocations: 13.94 kB / 2.787 GB, free: 169.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01317/7.931, allocations: 5.966 MB / 2.793 GB, free: 168.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.006913/7.938, allocations: 24.51 MB / 2.817 GB, free: 143.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/7.939, allocations: 49.06 kB / 2.817 GB, free: 143.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/7.94, allocations: 256.3 kB / 2.817 GB, free: 143.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004696/7.944, allocations: 0.919 MB / 2.818 GB, free: 143.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003929/7.948, allocations: 4.667 MB / 2.822 GB, free: 140.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/7.962, allocations: 1.182 MB / 2.824 GB, free: 140.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/7.964, allocations: 185.4 kB / 2.824 GB, free: 140.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/7.964, allocations: 5.344 kB / 2.824 GB, free: 140.1 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0127/7.977, allocations: 5.381 MB / 2.829 GB, free: 140 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000308/7.977, allocations: 53.95 kB / 2.829 GB, free: 140 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009894/7.978, allocations: 252.7 kB / 2.829 GB, free: 140 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/7.982, allocations: 0.9235 MB / 2.83 GB, free: 140 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00441/7.987, allocations: 4.668 MB / 2.835 GB, free: 136.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/7.998, allocations: 1.091 MB / 2.836 GB, free: 136.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/7.999, allocations: 186.6 kB / 2.836 GB, free: 136.3 MB / 1.01 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.002097/8.002, allocations: 238.5 kB / 2.836 GB, free: 136.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003199/8.005, allocations: 0.5317 MB / 2.837 GB, free: 135.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009617/8.014, allocations: 3.371 MB / 2.84 GB, free: 135.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-05/8.015, allocations: 23 kB / 2.84 GB, free: 135.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/8.015, allocations: 1.812 kB / 2.84 GB, free: 135.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004532/8.019, allocations: 2.802 MB / 2.843 GB, free: 135.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02632/8.045, allocations: 9.517 MB / 2.852 GB, free: 134.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/8.046, allocations: 3.656 kB / 2.852 GB, free: 134.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/8.048, allocations: 424.5 kB / 2.852 GB, free: 134.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007451/8.049, allocations: 176.8 kB / 2.853 GB, free: 134.5 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/8.049, allocations: 73.42 kB / 2.853 GB, free: 134.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/8.053, allocations: 4.595 MB / 2.857 GB, free: 131 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/8.053, allocations: 1.5 kB / 2.857 GB, free: 131 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01049/8.063, allocations: 4.791 MB / 2.862 GB, free: 130.2 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01173/8.075, allocations: 7.063 MB / 2.869 GB, free: 129.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008668/8.084, allocations: 4.786 MB / 2.873 GB, free: 125.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00366/8.087, allocations: 50.84 kB / 2.874 GB, free: 125.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007457/8.095, allocations: 0.5385 MB / 2.874 GB, free: 125.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/8.096, allocations: 103.3 kB / 2.874 GB, free: 125.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004776/8.096, allocations: 66.22 kB / 2.874 GB, free: 125.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.01607/8.112, allocations: 5.857 MB / 2.88 GB, free: 125.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02649/8.139, allocations: 3.616 MB / 2.883 GB, free: 125.2 MB / 1.01 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.005184/8.144, allocations: 1.725 MB / 2.885 GB, free: 124.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01375/8.158, allocations: 7.51 MB / 2.892 GB, free: 124.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/8.158, allocations: 4.875 kB / 2.892 GB, free: 124.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/8.16, allocations: 1.619 MB / 2.894 GB, free: 123.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/8.174, allocations: 2.1 MB / 2.896 GB, free: 123.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/8.208, allocations: 12.34 MB / 2.908 GB, free: 122 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01138/8.22, allocations: 4.917 MB / 2.913 GB, free: 121.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.502e-06/8.22, allocations: 0 / 2.913 GB, free: 121.1 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1)