Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay",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.001375/0.001375, allocations: 184 kB / 7.797 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4744/0.4744, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.341/1.341, allocations: 221.4 MB / 342.7 MB, free: 5.426 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.001095/0.001095, allocations: 90.88 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1738/0.1749, allocations: 78.43 MB / 493.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.569, allocations: 72.31 MB / 0.553 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.559/4.128, allocations: 1.876 GB / 2.428 GB, free: 201.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/4.128, allocations: 85.39 kB / 2.429 GB, free: 201.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 1.665/5.792, allocations: 491.2 MB / 2.908 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/5.793, allocations: 7.062 kB / 2.908 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/5.794, allocations: 217 kB / 2.908 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/5.796, allocations: 0.6402 MB / 2.909 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/5.796, allocations: 15.28 kB / 2.909 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/5.796, allocations: 36.06 kB / 2.909 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000814/5.797, allocations: 368.5 kB / 2.909 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/5.798, allocations: 402.9 kB / 2.91 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/5.798, allocations: 0 / 2.91 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/5.798, allocations: 0 / 2.91 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/5.798, allocations: 18.84 kB / 2.91 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/5.801, allocations: 2.072 MB / 2.912 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/5.802, allocations: 305.7 kB / 2.912 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/5.802, allocations: 185.9 kB / 2.912 GB, free: 118.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/5.802, allocations: 194.3 kB / 2.913 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/5.802, allocations: 37.03 kB / 2.913 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/5.802, allocations: 0 / 2.913 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001033/5.803, allocations: 393.3 kB / 2.913 GB, free: 118.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/5.803, allocations: 54.97 kB / 2.913 GB, free: 118 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/5.804, allocations: 382.9 kB / 2.913 GB, free: 117.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/5.804, allocations: 25.7 kB / 2.913 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/5.804, allocations: 230.8 kB / 2.914 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/5.804, allocations: 116.8 kB / 2.914 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.581e-05/5.804, allocations: 0 / 2.914 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/5.804, allocations: 363.7 kB / 2.914 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/5.804, allocations: 115.7 kB / 2.914 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/5.805, allocations: 191.3 kB / 2.914 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/5.805, allocations: 154.6 kB / 2.915 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/5.805, allocations: 0 / 2.915 GB, free: 117.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005562/5.805, allocations: 373.5 kB / 2.915 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/5.805, allocations: 357.1 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/5.805, allocations: 10 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/5.805, allocations: 3.844 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/5.806, allocations: 77.62 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/5.806, allocations: 2.562 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/5.807, allocations: 63.92 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/5.807, allocations: 11.69 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.251e-06/5.807, allocations: 3.875 kB / 2.915 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004109/5.807, allocations: 294 kB / 2.916 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-06/5.807, allocations: 7.656 kB / 2.916 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/5.807, allocations: 0 / 2.916 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/5.807, allocations: 76.58 kB / 2.916 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/5.807, allocations: 1.5 kB / 2.916 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/5.808, allocations: 62.81 kB / 2.916 GB, free: 116.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/5.808, allocations: 17.78 kB / 2.916 GB, free: 116.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001002/5.808, allocations: 108 kB / 2.916 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/5.808, allocations: 57.56 kB / 2.916 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/5.809, allocations: 364 kB / 2.916 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/5.809, allocations: 3.531 kB / 2.916 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/5.809, allocations: 0 / 2.916 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000388/5.809, allocations: 395.4 kB / 2.917 GB, free: 116.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/5.811, allocations: 1.057 MB / 2.918 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/5.811, allocations: 2.688 kB / 2.918 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/5.811, allocations: 88.55 kB / 2.918 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/5.811, allocations: 3.938 kB / 2.918 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/5.811, allocations: 9.906 kB / 2.918 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/5.811, allocations: 3.844 kB / 2.918 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/5.811, allocations: 3.219 kB / 2.918 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007554/5.812, allocations: 0.716 MB / 2.919 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001123/5.813, allocations: 1.323 MB / 2.92 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/5.813, allocations: 179.7 kB / 2.92 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/5.813, allocations: 3.375 kB / 2.92 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/5.814, allocations: 52.39 kB / 2.92 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/5.814, allocations: 24.14 kB / 2.92 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/5.814, allocations: 13.45 kB / 2.92 GB, free: 115 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002855/5.814, allocations: 294.2 kB / 2.92 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002761/5.817, allocations: 0.6957 MB / 2.921 GB, free: 114.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.001655/5.819, allocations: 1.437 MB / 2.922 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006869/5.819, allocations: 482.9 kB / 2.923 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/5.819, allocations: 3.406 kB / 2.923 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/5.82, allocations: 172.2 kB / 2.923 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/5.821, allocations: 322.8 kB / 2.923 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/5.823, allocations: 0.9855 MB / 2.924 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/5.823, allocations: 0.9999 MB / 2.925 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/5.823, allocations: 0 / 2.925 GB, free: 113.6 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Delays_Examples_Delay.fmu > IBPSA_latest_IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)