Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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) 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) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.8732/0.8732, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 185.2 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.1 MB / 399.1 MB, free: 6.137 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 88.11 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3375/0.3386, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.5319, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.348/5.88, allocations: 2.153 GB / 2.774 GB, free: 53.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/5.88, allocations: 91.89 kB / 2.774 GB, free: 53.15 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 2.198/8.078, allocations: 481.4 MB / 3.244 GB, free: 59.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/8.078, allocations: 8 kB / 3.244 GB, free: 59.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/8.08, allocations: 222.8 kB / 3.244 GB, free: 59.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/8.081, allocations: 0.6654 MB / 3.245 GB, free: 58.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/8.081, allocations: 12 kB / 3.245 GB, free: 58.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/8.081, allocations: 32 kB / 3.245 GB, free: 58.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006959/8.082, allocations: 377.9 kB / 3.245 GB, free: 58.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/8.083, allocations: 408.4 kB / 3.246 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/8.083, allocations: 3.938 kB / 3.246 GB, free: 57.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/8.083, allocations: 3.938 kB / 3.246 GB, free: 57.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/8.083, allocations: 24.91 kB / 3.246 GB, free: 57.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/8.086, allocations: 2.002 MB / 3.248 GB, free: 55.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/8.086, allocations: 313.5 kB / 3.248 GB, free: 55.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/8.086, allocations: 189.6 kB / 3.248 GB, free: 55.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/8.087, allocations: 190.5 kB / 3.249 GB, free: 54.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/8.087, allocations: 40.28 kB / 3.249 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/8.087, allocations: 0 / 3.249 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001616/8.088, allocations: 463.2 kB / 3.249 GB, free: 54.35 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/8.089, allocations: 63.33 kB / 3.249 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/8.089, allocations: 369.4 kB / 3.249 GB, free: 53.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.524e-05/8.089, allocations: 25.7 kB / 3.249 GB, free: 53.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/8.089, allocations: 236.5 kB / 3.25 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/8.089, allocations: 110.3 kB / 3.25 GB, free: 53.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/8.089, allocations: 0 / 3.25 GB, free: 53.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001049/8.089, allocations: 358.8 kB / 3.25 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/8.09, allocations: 128.6 kB / 3.25 GB, free: 53.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/8.09, allocations: 210.3 kB / 3.25 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/8.09, allocations: 155.7 kB / 3.251 GB, free: 52.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/8.09, allocations: 0 / 3.251 GB, free: 52.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005754/8.091, allocations: 388.6 kB / 3.251 GB, free: 52.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/8.091, allocations: 368.7 kB / 3.251 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/8.091, allocations: 96 / 3.251 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/8.091, allocations: 7.938 kB / 3.251 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/8.091, allocations: 95.88 kB / 3.251 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/8.091, allocations: 4 kB / 3.251 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/8.092, allocations: 63.7 kB / 3.251 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/8.092, allocations: 19.98 kB / 3.251 GB, free: 51.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/8.092, allocations: 4 kB / 3.251 GB, free: 51.69 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003917/8.093, allocations: 275.7 kB / 3.252 GB, free: 51.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/8.093, allocations: 0 / 3.252 GB, free: 51.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/8.093, allocations: 7.984 kB / 3.252 GB, free: 51.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/8.093, allocations: 79.89 kB / 3.252 GB, free: 51.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/8.093, allocations: 7.938 kB / 3.252 GB, free: 51.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/8.094, allocations: 59.73 kB / 3.252 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/8.094, allocations: 12 kB / 3.252 GB, free: 51.26 MB / 0.6355 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.0001161/8.094, allocations: 112.9 kB / 3.252 GB, free: 51.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/8.094, allocations: 51.34 kB / 3.252 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/8.094, allocations: 65.08 kB / 3.252 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/8.094, allocations: 0 / 3.252 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/8.094, allocations: 4 kB / 3.252 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004406/8.094, allocations: 400.2 kB / 3.253 GB, free: 50.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/8.096, allocations: 1.07 MB / 3.254 GB, free: 49.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/8.096, allocations: 4 kB / 3.254 GB, free: 49.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/8.097, allocations: 112 kB / 3.254 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/8.097, allocations: 4 kB / 3.254 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/8.097, allocations: 0 / 3.254 GB, free: 49.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/8.097, allocations: 11.84 kB / 3.254 GB, free: 49.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/8.097, allocations: 4 kB / 3.254 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008759/8.098, allocations: 0.7646 MB / 3.254 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001407/8.099, allocations: 1.397 MB / 3.256 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/8.099, allocations: 172.3 kB / 3.256 GB, free: 46.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/8.099, allocations: 11.98 kB / 3.256 GB, free: 46.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000715/8.1, allocations: 55.89 kB / 3.256 GB, free: 46.78 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/8.1, allocations: 27.86 kB / 3.256 GB, free: 46.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/8.1, allocations: 12 kB / 3.256 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0003312/8.101, allocations: 294.9 kB / 3.256 GB, free: 46.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003381/8.104, allocations: 0.6872 MB / 3.257 GB, free: 45.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * 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.002587/8.107, allocations: 1.437 MB / 3.258 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009733/8.108, allocations: 492.4 kB / 3.259 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/8.108, allocations: 4 kB / 3.259 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002991/8.108, allocations: 167.8 kB / 3.259 GB, free: 43.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/8.11, allocations: 321.7 kB / 3.259 GB, free: 43.49 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/8.113, allocations: 0.9947 MB / 3.26 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000844/8.114, allocations: 1.008 MB / 3.261 GB, free: 41.42 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/8.114, allocations: 3.938 kB / 3.261 GB, free: 41.41 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Delays_Examples_Delay.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Delays.Examples.Delay.pipe 2>&1)