Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",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.16/2.16, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001702/0.001702, allocations: 189.2 kB / 315.1 MB, free: 4.258 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.953/1.953, allocations: 205.1 MB / 0.5658 GB, free: 340 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.001281/0.001281, allocations: 83.41 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4518/0.4532, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.7174, allocations: 106.3 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/2.24, allocations: 462.4 MB / 1.335 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/2.241, allocations: 95.94 kB / 1.335 GB, free: 225.5 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 4.829/7.07, allocations: 0.9219 GB / 2.257 GB, free: 79.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/7.07, allocations: 7.219 kB / 2.257 GB, free: 79.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005244/7.076, allocations: 0.5858 MB / 2.258 GB, free: 79.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02034/7.096, allocations: 4.038 MB / 2.262 GB, free: 78.58 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/7.096, allocations: 115.9 kB / 2.262 GB, free: 78.58 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/7.099, allocations: 237.4 kB / 2.262 GB, free: 78.57 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01749/7.116, allocations: 5.088 MB / 2.267 GB, free: 78.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02116/7.138, allocations: 5.462 MB / 2.272 GB, free: 77.76 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002347/7.138, allocations: 24.06 kB / 2.272 GB, free: 77.75 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/7.14, allocations: 7.781 kB / 2.272 GB, free: 77.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006106/7.14, allocations: 402.4 kB / 2.273 GB, free: 77.75 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06116/7.202, allocations: 24.97 MB / 2.297 GB, free: 64.33 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/7.214, allocations: 3.962 MB / 2.301 GB, free: 64.29 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006667/7.221, allocations: 2.303 MB / 2.303 GB, free: 64.26 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0405/7.261, allocations: 12.38 MB / 2.315 GB, free: 58.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006832/7.268, allocations: 2.081 MB / 2.317 GB, free: 58.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=310): time 7.534e-06/7.268, allocations: 0 / 2.317 GB, free: 58.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=334): time 0.1913/7.46, allocations: 18.67 MB / 2.336 GB, free: 57.38 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/7.46, allocations: 110.8 kB / 2.336 GB, free: 57.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006206/7.466, allocations: 2.217 MB / 2.338 GB, free: 57.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001241/7.467, allocations: 29.61 kB / 2.338 GB, free: 56.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001839/7.469, allocations: 1.523 MB / 2.339 GB, free: 56.12 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002509/7.472, allocations: 1.112 MB / 2.34 GB, free: 55.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/7.473, allocations: 0 / 2.34 GB, free: 55.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004745/7.473, allocations: 472.1 kB / 2.341 GB, free: 55.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006048/7.479, allocations: 1.882 MB / 2.343 GB, free: 55.06 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007314/7.487, allocations: 2.909 MB / 2.346 GB, free: 53.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05207/7.539, allocations: 5.287 MB / 2.351 GB, free: 53.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-05/7.539, allocations: 6.906 kB / 2.351 GB, free: 53.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.07063/7.61, allocations: 8.102 MB / 2.359 GB, free: 53.62 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002852/7.613, allocations: 11.91 MB / 2.37 GB, free: 41.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/7.613, allocations: 30.17 kB / 2.37 GB, free: 41.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/7.613, allocations: 56.41 kB / 2.37 GB, free: 41.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08131/7.694, allocations: 3.858 MB / 2.374 GB, free: 41.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/7.718, allocations: 5.506 MB / 2.379 GB, free: 37.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009448/7.728, allocations: 300.1 kB / 2.38 GB, free: 37.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/7.73, allocations: 203.1 kB / 2.38 GB, free: 37.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/7.73, allocations: 3.969 kB / 2.38 GB, free: 37.77 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04037/7.77, allocations: 6.15 MB / 2.386 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/7.77, allocations: 24.75 kB / 2.386 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.448e-05/7.77, allocations: 53.84 kB / 2.386 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01345/7.784, allocations: 1.335 MB / 2.387 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/7.784, allocations: 63.22 kB / 2.387 GB, free: 37.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009016/7.793, allocations: 295.8 kB / 2.388 GB, free: 37.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/7.795, allocations: 195.5 kB / 2.388 GB, free: 37.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002089/7.797, allocations: 224.5 kB / 2.388 GB, free: 37.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/7.798, allocations: 363.2 kB / 2.388 GB, free: 37.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07231/7.871, allocations: 8.219 MB / 2.396 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.843e-05/7.871, allocations: 43.83 kB / 2.396 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/7.871, allocations: 0 / 2.396 GB, free: 37.16 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0643/7.935, allocations: 6.977 MB / 2.403 GB, free: 36.83 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09188/8.027, allocations: 17.52 MB / 2.42 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/8.027, allocations: 14.84 kB / 2.42 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.07312/8.1, allocations: 3.49 MB / 2.424 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.074e-05/8.101, allocations: 32.22 kB / 2.424 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/8.102, allocations: 76.22 kB / 2.424 GB, free: 35.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02302/8.125, allocations: 5.364 MB / 2.429 GB, free: 47.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.611e-05/8.125, allocations: 22.16 kB / 2.429 GB, free: 47.76 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06977/8.195, allocations: 12.48 MB / 2.441 GB, free: 44.61 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.07833/8.273, allocations: 15.91 MB / 2.457 GB, free: 41.07 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004365/8.277, allocations: 0.9169 MB / 2.458 GB, free: 40.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001896/8.279, allocations: 39.72 kB / 2.458 GB, free: 40.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006985/8.286, allocations: 187.8 kB / 2.458 GB, free: 40.76 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/8.288, allocations: 255.5 kB / 2.458 GB, free: 40.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007949/8.289, allocations: 167.9 kB / 2.458 GB, free: 40.74 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.003884/8.293, allocations: 1.609 MB / 2.46 GB, free: 40.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01869/8.311, allocations: 2.842 MB / 2.463 GB, free: 40.42 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00639/8.318, allocations: 1.774 MB / 2.464 GB, free: 40.04 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.1391/8.457, allocations: 11.29 MB / 2.476 GB, free: 39.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.01e-05/8.457, allocations: 4.531 kB / 2.476 GB, free: 39.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.1166/8.574, allocations: 6.251 MB / 2.482 GB, free: 39.95 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01413/8.588, allocations: 1.269 MB / 2.483 GB, free: 39.91 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03545/8.623, allocations: 9.047 MB / 2.492 GB, free: 37.57 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01718/8.641, allocations: 3.653 MB / 2.495 GB, free: 36.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.973e-06/8.641, allocations: 0 / 2.495 GB, free: 36.7 MB / 0.9011 GB