Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.121/2.121, allocations: 248.6 MB / 255.9 MB, free: 7.141 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001679/0.001679, allocations: 182.4 kB / 315.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.1 MB / 0.5658 GB, free: 396 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001328/0.001327, allocations: 91.27 kB / 0.67 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4596/0.461, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.6671, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.452/2.12, allocations: 458.4 MB / 1.331 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/2.12, allocations: 100.1 kB / 1.331 GB, free: 252.5 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: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 6.381/8.501, allocations: 1.236 GB / 2.567 GB, free: 17.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/8.501, allocations: 8 kB / 2.567 GB, free: 17.24 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005846/8.507, allocations: 0.7141 MB / 2.568 GB, free: 16.52 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1196/8.626, allocations: 30.31 MB / 2.597 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/8.627, allocations: 84 kB / 2.597 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/8.628, allocations: 219.9 kB / 2.598 GB, free: 2.105 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01188/8.64, allocations: 3.091 MB / 2.601 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/8.655, allocations: 3.651 MB / 2.604 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/8.655, allocations: 15.88 kB / 2.604 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006151/8.656, allocations: 11.91 kB / 2.604 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/8.656, allocations: 68 kB / 2.604 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4995/9.155, allocations: 21.46 MB / 2.625 GB, free: 152.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006461/9.162, allocations: 2.707 MB / 2.628 GB, free: 152.4 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/9.166, allocations: 1.588 MB / 2.629 GB, free: 152.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02285/9.189, allocations: 9.717 MB / 2.639 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003165/9.192, allocations: 1.406 MB / 2.64 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=171): time 5.19e-06/9.192, allocations: 0 / 2.64 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=171): time 0.01012/9.202, allocations: 2.993 MB / 2.643 GB, free: 149.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/9.202, allocations: 128.4 kB / 2.643 GB, free: 149 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02399/9.226, allocations: 7.953 MB / 2.651 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008772/9.227, allocations: 29.11 kB / 2.651 GB, free: 148.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003665/9.231, allocations: 1.475 MB / 2.653 GB, free: 148.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003686/9.235, allocations: 0.6097 MB / 2.653 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005693/9.235, allocations: 0 / 2.653 GB, free: 147.9 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004838/9.236, allocations: 465.7 kB / 2.654 GB, free: 147.6 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005151/9.241, allocations: 2.017 MB / 2.656 GB, free: 147.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006796/9.248, allocations: 3.554 MB / 2.659 GB, free: 145.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008436/9.256, allocations: 2.71 MB / 2.662 GB, free: 145.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.993e-05/9.256, allocations: 16.8 kB / 2.662 GB, free: 145.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.02009/9.276, allocations: 5.96 MB / 2.668 GB, free: 145.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005955/9.282, allocations: 24.51 MB / 2.692 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002489/9.283, allocations: 51.94 kB / 2.692 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/9.284, allocations: 250.9 kB / 2.692 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007665/9.292, allocations: 0.9308 MB / 2.693 GB, free: 120.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/9.297, allocations: 4.666 MB / 2.697 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/9.312, allocations: 1.186 MB / 2.698 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/9.313, allocations: 189.4 kB / 2.699 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/9.313, allocations: 3.688 kB / 2.699 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01591/9.329, allocations: 5.384 MB / 2.704 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/9.329, allocations: 51.19 kB / 2.704 GB, free: 116.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/9.331, allocations: 247.3 kB / 2.704 GB, free: 116.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008496/9.339, allocations: 0.9245 MB / 2.705 GB, free: 116.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/9.344, allocations: 4.664 MB / 2.71 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01468/9.359, allocations: 1.101 MB / 2.711 GB, free: 112.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/9.36, allocations: 182.5 kB / 2.711 GB, free: 112.7 MB / 0.9167 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.001279/9.362, allocations: 237.5 kB / 2.711 GB, free: 112.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002473/9.364, allocations: 0.5314 MB / 2.712 GB, free: 112.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/9.376, allocations: 3.373 MB / 2.715 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/9.376, allocations: 19.03 kB / 2.715 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/9.376, allocations: 0 / 2.715 GB, free: 112.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007742/9.384, allocations: 2.809 MB / 2.718 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/9.412, allocations: 9.499 MB / 2.727 GB, free: 111 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/9.412, allocations: 0 / 2.727 GB, free: 111 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004404/9.416, allocations: 428 kB / 2.727 GB, free: 111 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009551/9.417, allocations: 186.2 kB / 2.728 GB, free: 111 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005922/9.418, allocations: 71.91 kB / 2.728 GB, free: 111 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/9.423, allocations: 4.582 MB / 2.732 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/9.423, allocations: 0 / 2.732 GB, free: 107.4 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01303/9.436, allocations: 4.785 MB / 2.737 GB, free: 106.7 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01709/9.453, allocations: 7.067 MB / 2.744 GB, free: 105.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00935/9.462, allocations: 4.777 MB / 2.748 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002831/9.465, allocations: 55.53 kB / 2.748 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009997/9.475, allocations: 0.5406 MB / 2.749 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007186/9.476, allocations: 101.9 kB / 2.749 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/9.476, allocations: 64.31 kB / 2.749 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.01668/9.493, allocations: 5.857 MB / 2.755 GB, free: 102 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02143/9.515, allocations: 3.622 MB / 2.758 GB, free: 101.9 MB / 0.9167 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.005048/9.52, allocations: 1.741 MB / 2.76 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01765/9.537, allocations: 7.51 MB / 2.767 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/9.537, allocations: 3.281 kB / 2.767 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004021/9.541, allocations: 1.62 MB / 2.769 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01786/9.559, allocations: 2.085 MB / 2.771 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04069/9.6, allocations: 12.34 MB / 2.783 GB, free: 98.65 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0141/9.614, allocations: 4.92 MB / 2.788 GB, free: 97.81 MB / 0.9167 GB Notification: Performance of SimCode: time 1.242e-06/9.614, allocations: 0 / 2.788 GB, free: 97.81 MB / 0.9167 GB