Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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 10.0.0-master/package.mo): time 2.185/2.185, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001509/0.001509, allocations: 178 kB / 490.8 MB, free: 1.91 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.584/1.584, allocations: 221.3 MB / 0.7863 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 100 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7355/0.7367, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/1.034, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.585/5.619, allocations: 1.928 GB / 3.14 GB, free: 388.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/5.619, allocations: 91.12 kB / 3.14 GB, free: 388.1 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.289/7.908, allocations: 0.8025 GB / 3.942 GB, free: 8.492 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/7.908, allocations: 8 kB / 3.942 GB, free: 8.484 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/7.91, allocations: 274.6 kB / 3.942 GB, free: 8.215 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/7.914, allocations: 0.8041 MB / 3.943 GB, free: 7.367 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/7.914, allocations: 20 kB / 3.943 GB, free: 7.348 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/7.914, allocations: 36 kB / 3.943 GB, free: 7.312 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001128/7.915, allocations: 0.5759 MB / 3.944 GB, free: 6.738 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/7.916, allocations: 0.5276 MB / 3.944 GB, free: 6.203 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/7.916, allocations: 0 / 3.944 GB, free: 6.203 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/7.916, allocations: 3.906 kB / 3.944 GB, free: 6.199 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/7.916, allocations: 12 kB / 3.944 GB, free: 6.188 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/7.921, allocations: 2.648 MB / 3.947 GB, free: 3.328 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/7.922, allocations: 483.6 kB / 3.947 GB, free: 2.848 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004092/7.922, allocations: 333.5 kB / 3.948 GB, free: 2.52 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007779/7.923, allocations: 0.6406 MB / 3.948 GB, free: 1.75 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/7.923, allocations: 38.94 kB / 3.948 GB, free: 1.703 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.485e-06/7.923, allocations: 0 / 3.948 GB, free: 1.703 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002775/7.926, allocations: 0.9511 MB / 3.949 GB, free: 0.7422 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/7.926, allocations: 55.41 kB / 3.949 GB, free: 0.6758 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/7.926, allocations: 467.7 kB / 3.95 GB, free: 220 kB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.892e-05/7.926, allocations: 29.7 kB / 3.95 GB, free: 184 kB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.6734/8.6, allocations: 235.4 kB / 3.95 GB, free: 352.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/8.6, allocations: 156.5 kB / 3.95 GB, free: 352.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/8.6, allocations: 0 / 3.95 GB, free: 352.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002162/8.6, allocations: 372.7 kB / 3.951 GB, free: 352.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/8.601, allocations: 234.7 kB / 3.951 GB, free: 352.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/8.601, allocations: 346.9 kB / 3.951 GB, free: 352 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/8.602, allocations: 359.8 kB / 3.951 GB, free: 352 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/8.602, allocations: 3.172 kB / 3.952 GB, free: 352 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001599/8.603, allocations: 0.7955 MB / 3.952 GB, free: 352 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/8.603, allocations: 280.1 kB / 3.953 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/8.603, allocations: 0 / 3.953 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/8.604, allocations: 56.2 kB / 3.953 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/8.604, allocations: 99 kB / 3.953 GB, free: 351.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004913/8.605, allocations: 0.6531 MB / 3.953 GB, free: 351.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/8.606, allocations: 81.64 kB / 3.953 GB, free: 351.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.951e-05/8.606, allocations: 22.53 kB / 3.953 GB, free: 351.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/8.606, allocations: 3.312 kB / 3.953 GB, free: 351.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/8.607, allocations: 0.6683 MB / 3.954 GB, free: 351.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/8.607, allocations: 3.906 kB / 3.954 GB, free: 351.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/8.607, allocations: 64.06 kB / 3.954 GB, free: 351.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/8.608, allocations: 98.17 kB / 3.954 GB, free: 351.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/8.609, allocations: 1.623 MB / 3.956 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008405/8.61, allocations: 75.25 kB / 3.956 GB, free: 349.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/8.61, allocations: 22.23 kB / 3.956 GB, free: 349.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001959/8.611, allocations: 117.4 kB / 3.956 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/8.611, allocations: 73.88 kB / 3.956 GB, free: 349.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/8.612, allocations: 0.8433 MB / 3.957 GB, free: 349.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/8.612, allocations: 6.75 kB / 3.957 GB, free: 349.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/8.612, allocations: 0 / 3.957 GB, free: 349.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/8.612, allocations: 2.859 kB / 3.957 GB, free: 349.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/8.615, allocations: 1.675 MB / 3.959 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/8.615, allocations: 7.219 kB / 3.959 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/8.616, allocations: 88.67 kB / 3.959 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001397/8.616, allocations: 62.06 kB / 3.959 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/8.616, allocations: 7.188 kB / 3.959 GB, free: 349.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004021/8.616, allocations: 0.6035 MB / 3.959 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/8.616, allocations: 7.25 kB / 3.959 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001688/8.618, allocations: 1.312 MB / 3.961 GB, free: 348.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002698/8.621, allocations: 2.119 MB / 3.963 GB, free: 347.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/8.621, allocations: 205 kB / 3.963 GB, free: 347.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/8.621, allocations: 10.62 kB / 3.963 GB, free: 347.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008038/8.622, allocations: 88.09 kB / 3.963 GB, free: 347.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/8.622, allocations: 42.91 kB / 3.963 GB, free: 347.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/8.622, allocations: 19.09 kB / 3.963 GB, free: 347.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004836/8.623, allocations: 366.3 kB / 3.963 GB, free: 347.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003834/8.627, allocations: 1.066 MB / 3.964 GB, free: 347 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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00347/8.63, allocations: 2.387 MB / 3.967 GB, free: 346.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001804/8.632, allocations: 0.9682 MB / 3.968 GB, free: 346.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/8.632, allocations: 0 / 3.968 GB, free: 346.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/8.633, allocations: 288.9 kB / 3.968 GB, free: 346.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/8.635, allocations: 450.4 kB / 3.968 GB, free: 346.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/8.64, allocations: 1.531 MB / 3.97 GB, free: 345.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/8.641, allocations: 1.067 MB / 3.971 GB, free: 345.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.795e-06/8.641, allocations: 0 / 3.971 GB, free: 345.2 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)