Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve",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 4.0.0+maint.om/package.mo): time 0.00141/0.001409, allocations: 187.5 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.469/0.469, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.4 MB / 342.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009769/0.0009769, allocations: 103.5 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1799/0.1809, allocations: 78.44 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.5656, allocations: 72.3 MB / 0.553 GB, free: 73.26 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.6791, allocations: 101.1 MB / 0.6518 GB, free: 8.867 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.6794, allocations: 83.92 kB / 0.6518 GB, free: 8.785 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.009155/0.6886, allocations: 2.893 MB / 0.6547 GB, free: 5.902 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6887, allocations: 8.719 kB / 0.6547 GB, free: 5.895 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.6887, allocations: 9.656 kB / 0.6547 GB, free: 5.887 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.6888, allocations: 163.6 kB / 0.6548 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.6888, allocations: 0.75 kB / 0.6548 GB, free: 5.688 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.6889, allocations: 3.938 kB / 0.6548 GB, free: 5.684 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.17e-05/0.6889, allocations: 13.28 kB / 0.6549 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.849e-05/0.689, allocations: 29.69 kB / 0.6549 GB, free: 5.637 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.689, allocations: 0 / 0.6549 GB, free: 5.637 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.689, allocations: 4.5 kB / 0.6549 GB, free: 5.633 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.689, allocations: 3.906 kB / 0.6549 GB, free: 5.629 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002087/0.6892, allocations: 131.3 kB / 0.655 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.6893, allocations: 23.34 kB / 0.655 GB, free: 5.438 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.6893, allocations: 8.859 kB / 0.6551 GB, free: 5.426 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007485/0.6901, allocations: 0.6557 MB / 0.6557 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.6901, allocations: 43.5 kB / 0.6557 GB, free: 4.574 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/0.6901, allocations: 4 kB / 0.6557 GB, free: 4.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002749/0.6904, allocations: 49.66 kB / 0.6558 GB, free: 4.516 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.6905, allocations: 51.41 kB / 0.6558 GB, free: 4.453 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.979e-05/0.6905, allocations: 85 kB / 0.6559 GB, free: 4.363 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.6905, allocations: 25.7 kB / 0.6559 GB, free: 4.332 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.6906, allocations: 84.14 kB / 0.656 GB, free: 4.246 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.6906, allocations: 19.73 kB / 0.656 GB, free: 4.227 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6906, allocations: 0 / 0.656 GB, free: 4.227 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6907, allocations: 310.8 kB / 0.6563 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.6907, allocations: 8 kB / 0.6563 GB, free: 3.906 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.6908, allocations: 13.72 kB / 0.6564 GB, free: 3.887 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6909, allocations: 23.95 kB / 0.6564 GB, free: 3.863 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6909, allocations: 0 / 0.6564 GB, free: 3.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001791/0.6911, allocations: 61.52 kB / 0.6564 GB, free: 3.797 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6911, allocations: 7.984 kB / 0.6564 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6911, allocations: 0 / 0.6564 GB, free: 3.789 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6912, allocations: 5.875 kB / 0.6564 GB, free: 3.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.6912, allocations: 8.031 kB / 0.6565 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.6912, allocations: 0 / 0.6565 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.6912, allocations: 5 kB / 0.6565 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.6912, allocations: 4 kB / 0.6565 GB, free: 3.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.02e-05/0.6913, allocations: 104.9 kB / 0.6566 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.6913, allocations: 7.906 kB / 0.6566 GB, free: 3.652 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.6915, allocations: 65.34 kB / 0.6566 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6915, allocations: 0 / 0.6566 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.6916, allocations: 0 / 0.6566 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6916, allocations: 5.688 kB / 0.6566 GB, free: 3.574 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.6917, allocations: 138.1 kB / 0.6568 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6917, allocations: 0 / 0.6568 GB, free: 3.402 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.6917, allocations: 9.859 kB / 0.6568 GB, free: 3.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.6917, allocations: 0 / 0.6568 GB, free: 3.395 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6917, allocations: 4 kB / 0.6568 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6918, allocations: 0 / 0.6568 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6918, allocations: 0 / 0.6568 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000206/0.692, allocations: 88.94 kB / 0.6569 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003367/0.6923, allocations: 473.6 kB / 0.6573 GB, free: 2.801 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.6924, allocations: 81.02 kB / 0.6574 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.6924, allocations: 0 / 0.6574 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.6924, allocations: 0 / 0.6574 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.6924, allocations: 4 kB / 0.6574 GB, free: 2.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.6924, allocations: 0 / 0.6574 GB, free: 2.699 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.719e-05/0.6925, allocations: 79.41 kB / 0.6575 GB, free: 2.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008324/0.6933, allocations: 75.8 kB / 0.6576 GB, free: 2.547 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000429/0.6937, allocations: 215.1 kB / 0.6578 GB, free: 2.324 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.564e-05/0.6938, allocations: 14.62 kB / 0.6578 GB, free: 2.312 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6938, allocations: 0 / 0.6578 GB, free: 2.312 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-06/0.6938, allocations: 8.062 kB / 0.6578 GB, free: 2.305 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.327e-05/0.6939, allocations: 4 kB / 0.6578 GB, free: 2.301 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002274/0.6942, allocations: 76.11 kB / 0.6579 GB, free: 2.203 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.6945, allocations: 0.6876 MB / 0.6585 GB, free: 1.492 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6945, allocations: 0 / 0.6585 GB, free: 1.492 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1)