Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) 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) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",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/Complex 3.2.3+maint.om/package.mo): time 0.002063/0.002063, allocations: 183 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.063/1.063, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008041/0.0008041, allocations: 91.64 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.564/0.564, allocations: 90.34 MB / 399.4 MB, free: 12.28 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1242/0.6882, allocations: 72.39 MB / 471.8 MB, free: 3.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.9573, allocations: 66.25 MB / 0.5254 GB, free: 28.95 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.747/1.704, allocations: 438.5 MB / 0.9537 GB, free: 162.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/1.705, allocations: 78.34 kB / 0.9537 GB, free: 162.8 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.8406/2.545, allocations: 352.8 MB / 1.298 GB, free: 82.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/2.545, allocations: 12 kB / 1.298 GB, free: 82.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/2.546, allocations: 205.7 kB / 1.298 GB, free: 82.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/2.548, allocations: 0.8934 MB / 1.299 GB, free: 81.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.321e-05/2.548, allocations: 44 kB / 1.299 GB, free: 81.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003569/2.548, allocations: 95.91 kB / 1.3 GB, free: 81.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002199/2.551, allocations: 1.321 MB / 1.301 GB, free: 80.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/2.553, allocations: 1.358 MB / 1.302 GB, free: 78.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/2.553, allocations: 0 / 1.302 GB, free: 78.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/2.553, allocations: 8 kB / 1.302 GB, free: 78.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/2.553, allocations: 43.94 kB / 1.302 GB, free: 78.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007438/2.56, allocations: 7.202 MB / 1.309 GB, free: 70.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/2.562, allocations: 1.165 MB / 1.31 GB, free: 69.64 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008062/2.563, allocations: 0.7194 MB / 1.311 GB, free: 68.92 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/2.564, allocations: 1.436 MB / 1.312 GB, free: 67.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/2.564, allocations: 63.56 kB / 1.313 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 4.659e-06/2.564, allocations: 0 / 1.313 GB, free: 67.11 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.003844/2.568, allocations: 1.689 MB / 1.314 GB, free: 65.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/2.568, allocations: 179.1 kB / 1.314 GB, free: 65.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/2.568, allocations: 0.6422 MB / 1.315 GB, free: 64.52 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/2.568, allocations: 25.7 kB / 1.315 GB, free: 64.49 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/2.569, allocations: 456.3 kB / 1.315 GB, free: 64.04 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/2.569, allocations: 0.5772 MB / 1.316 GB, free: 63.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.816e-05/2.569, allocations: 0 / 1.316 GB, free: 63.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.88e-05/2.569, allocations: 373.9 kB / 1.316 GB, free: 63.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/2.57, allocations: 0.496 MB / 1.317 GB, free: 62.58 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/2.57, allocations: 0.7746 MB / 1.318 GB, free: 61.69 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/2.572, allocations: 0.7069 MB / 1.318 GB, free: 60.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/2.572, allocations: 3.906 kB / 1.318 GB, free: 60.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003265/2.575, allocations: 1.809 MB / 1.32 GB, free: 59.15 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/2.576, allocations: 4 kB / 1.32 GB, free: 59.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/2.576, allocations: 8 kB / 1.32 GB, free: 59.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/2.576, allocations: 204.9 kB / 1.32 GB, free: 58.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/2.577, allocations: 391.4 kB / 1.321 GB, free: 58.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/2.581, allocations: 6.741 MB / 1.327 GB, free: 51.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009944/2.582, allocations: 142.5 kB / 1.327 GB, free: 51.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/2.582, allocations: 83.88 kB / 1.327 GB, free: 51.01 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00024/2.582, allocations: 140.7 kB / 1.328 GB, free: 50.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/2.583, allocations: 146.3 kB / 1.328 GB, free: 50.73 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004243/2.587, allocations: 2.116 MB / 1.33 GB, free: 48.58 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/2.587, allocations: 16 kB / 1.33 GB, free: 48.56 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/2.587, allocations: 11.91 kB / 1.33 GB, free: 48.55 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/2.587, allocations: 11.95 kB / 1.33 GB, free: 48.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005969/2.593, allocations: 3.774 MB / 1.333 GB, free: 44.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/2.593, allocations: 0 / 1.333 GB, free: 44.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/2.594, allocations: 283.6 kB / 1.334 GB, free: 44.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/2.595, allocations: 427.4 kB / 1.334 GB, free: 44 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/2.595, allocations: 39.95 kB / 1.334 GB, free: 43.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004662/2.6, allocations: 9.075 MB / 1.343 GB, free: 34.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/2.6, allocations: 3.906 kB / 1.343 GB, free: 34.2 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004866/2.605, allocations: 3.131 MB / 1.346 GB, free: 30.96 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005549/2.611, allocations: 4.389 MB / 1.35 GB, free: 26.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/2.611, allocations: 227.2 kB / 1.351 GB, free: 26.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/2.611, allocations: 12 kB / 1.351 GB, free: 26.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/2.612, allocations: 75.64 kB / 1.351 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/2.612, allocations: 120.7 kB / 1.351 GB, free: 26.03 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/2.613, allocations: 67.95 kB / 1.351 GB, free: 25.96 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0005111/2.613, allocations: 494.1 kB / 1.351 GB, free: 25.47 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002917/2.616, allocations: 0.9947 MB / 1.352 GB, free: 24.48 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (flowResistance4.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance3.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/2.617, allocations: 1.191 MB / 1.353 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002449/2.62, allocations: 2.04 MB / 1.355 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/2.62, allocations: 0 / 1.355 GB, free: 21.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/2.622, allocations: 1.501 MB / 1.357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/2.624, allocations: 412.2 kB / 1.357 GB, free: 19.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004319/2.628, allocations: 2.783 MB / 1.36 GB, free: 16.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/2.629, allocations: 1.458 MB / 1.361 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of SimCode: time 6.12e-07/2.629, allocations: 0 / 1.361 GB, free: 14.92 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)