Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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 9.1.1-maint.9.1.x/package.mo): time 2.013/2.013, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 192.5 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009912, allocations: 94.88 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6176/0.6186, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.9054, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5.638, allocations: 1.928 GB / 3.133 GB, free: 370.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/5.638, allocations: 87.95 kB / 3.133 GB, free: 370.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 2.555/8.194, allocations: 0.7992 GB / 3.932 GB, free: 227.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/8.194, allocations: 14.25 kB / 3.932 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/8.195, allocations: 269.8 kB / 3.933 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/8.197, allocations: 0.8082 MB / 3.933 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/8.197, allocations: 17.25 kB / 3.933 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/8.197, allocations: 36.22 kB / 3.934 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008596/8.198, allocations: 0.5581 MB / 3.934 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008047/8.199, allocations: 0.5175 MB / 3.935 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/8.199, allocations: 0 / 3.935 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/8.199, allocations: 3.75 kB / 3.935 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/8.199, allocations: 13.22 kB / 3.935 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/8.203, allocations: 2.923 MB / 3.937 GB, free: 225.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/8.203, allocations: 370.2 kB / 3.938 GB, free: 225.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/8.203, allocations: 262.5 kB / 3.938 GB, free: 225.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/8.204, allocations: 0.6396 MB / 3.939 GB, free: 225 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/8.204, allocations: 40.77 kB / 3.939 GB, free: 225 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/8.204, allocations: 2.719 kB / 3.939 GB, free: 225 MB / 1.151 GB Notification: Performance of matching and sorting (n=39): time 0.002057/8.206, allocations: 0.7679 MB / 3.939 GB, free: 224.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/8.206, allocations: 54.69 kB / 3.94 GB, free: 224.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/8.207, allocations: 460.2 kB / 3.94 GB, free: 224.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/8.207, allocations: 29.27 kB / 3.94 GB, free: 224.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/8.207, allocations: 254 kB / 3.94 GB, free: 224.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.385e-05/8.207, allocations: 136.2 kB / 3.94 GB, free: 224.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/8.207, allocations: 0 / 3.94 GB, free: 224.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001005/8.207, allocations: 378.6 kB / 3.941 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/8.207, allocations: 183.9 kB / 3.941 GB, free: 224.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/8.208, allocations: 303.1 kB / 3.941 GB, free: 224.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/8.208, allocations: 307.4 kB / 3.941 GB, free: 224.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/8.208, allocations: 0 / 3.941 GB, free: 224.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001032/8.209, allocations: 0.6322 MB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/8.209, allocations: 5.562 kB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/8.209, allocations: 5.875 kB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/8.209, allocations: 1.906 kB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005736/8.21, allocations: 112.1 kB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/8.21, allocations: 6.031 kB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/8.211, allocations: 74.66 kB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/8.211, allocations: 26.86 kB / 3.942 GB, free: 224 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/8.211, allocations: 111.3 kB / 3.942 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/8.211, allocations: 67.62 kB / 3.942 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/8.212, allocations: 0.6702 MB / 3.943 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/8.212, allocations: 3.531 kB / 3.943 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/8.212, allocations: 3.906 kB / 3.943 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/8.212, allocations: 7.266 kB / 3.943 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/8.215, allocations: 1.484 MB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/8.215, allocations: 3.5 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004781/8.215, allocations: 91.42 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/8.215, allocations: 12.84 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/8.215, allocations: 7.594 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/8.215, allocations: 7.656 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/8.215, allocations: 14.06 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001322/8.217, allocations: 1.197 MB / 3.946 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001985/8.219, allocations: 1.972 MB / 3.948 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/8.219, allocations: 195.3 kB / 3.948 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/8.219, allocations: 3.969 kB / 3.948 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/8.22, allocations: 60.03 kB / 3.948 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/8.22, allocations: 35.48 kB / 3.948 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/8.22, allocations: 18.55 kB / 3.948 GB, free: 221.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003535/8.22, allocations: 359.4 kB / 3.948 GB, free: 221.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002055/8.222, allocations: 0.602 MB / 3.949 GB, free: 221.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/8.225, allocations: 2.364 MB / 3.951 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007523/8.226, allocations: 463.7 kB / 3.952 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/8.226, allocations: 0 / 3.952 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/8.226, allocations: 256.3 kB / 3.952 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/8.228, allocations: 373.5 kB / 3.952 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/8.233, allocations: 1.487 MB / 3.954 GB, free: 220.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/8.234, allocations: 1.057 MB / 3.955 GB, free: 220 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/8.234, allocations: 3.5 kB / 3.955 GB, free: 220 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)