Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.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.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",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.729/0.729, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.00148/0.00148, allocations: 173.3 kB / 164.4 MB, free: 6.883 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.78/1.78, allocations: 205.1 MB / 399.1 MB, free: 6.062 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.001102/0.001102, allocations: 77.75 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3617/0.3628, allocations: 82.89 MB / 0.5461 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.5499, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.38/5.93, allocations: 2.136 GB / 2.757 GB, free: 74.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/5.93, allocations: 91.94 kB / 2.757 GB, free: 74.61 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 1.107/7.037, allocations: 242.2 MB / 2.994 GB, free: 82.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/7.037, allocations: 12 kB / 2.994 GB, free: 82.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/7.04, allocations: 167.3 kB / 2.994 GB, free: 82.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/7.041, allocations: 346.3 kB / 2.994 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/7.041, allocations: 8 kB / 2.994 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.911e-05/7.041, allocations: 16 kB / 2.994 GB, free: 81.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006331/7.042, allocations: 212.9 kB / 2.994 GB, free: 81.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/7.042, allocations: 262.4 kB / 2.995 GB, free: 81.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/7.042, allocations: 4 kB / 2.995 GB, free: 81.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.712e-05/7.042, allocations: 0 / 2.995 GB, free: 81.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/7.042, allocations: 4 kB / 2.995 GB, free: 81.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/7.045, allocations: 1.12 MB / 2.996 GB, free: 80.03 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005383/7.045, allocations: 250.8 kB / 2.996 GB, free: 79.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/7.046, allocations: 109.5 kB / 2.996 GB, free: 79.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008577/7.046, allocations: 465.5 kB / 2.996 GB, free: 79.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/7.046, allocations: 38.56 kB / 2.996 GB, free: 79.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 3.186e-06/7.046, allocations: 0 / 2.996 GB, free: 79.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.001561/7.048, allocations: 265.5 kB / 2.997 GB, free: 78.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/7.048, allocations: 59.34 kB / 2.997 GB, free: 78.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/7.048, allocations: 193.1 kB / 2.997 GB, free: 78.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/7.048, allocations: 29.64 kB / 2.997 GB, free: 78.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/7.048, allocations: 148.1 kB / 2.997 GB, free: 78.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.646e-05/7.049, allocations: 67 kB / 2.997 GB, free: 78.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/7.049, allocations: 0 / 2.997 GB, free: 78.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/7.049, allocations: 338.8 kB / 2.997 GB, free: 77.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/7.049, allocations: 48 kB / 2.998 GB, free: 77.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/7.049, allocations: 97.98 kB / 2.998 GB, free: 77.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/7.049, allocations: 98.56 kB / 2.998 GB, free: 77.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/7.049, allocations: 4 kB / 2.998 GB, free: 77.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006507/7.05, allocations: 229 kB / 2.998 GB, free: 77.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/7.05, allocations: 8 kB / 2.998 GB, free: 77.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/7.05, allocations: 0 / 2.998 GB, free: 77.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.485e-05/7.05, allocations: 7.984 kB / 2.998 GB, free: 77.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/7.051, allocations: 43.98 kB / 2.998 GB, free: 77.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/7.051, allocations: 4 kB / 2.998 GB, free: 77.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/7.051, allocations: 31.83 kB / 2.998 GB, free: 77.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/7.051, allocations: 4 kB / 2.998 GB, free: 77.36 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001143/7.051, allocations: 109 kB / 2.998 GB, free: 77.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/7.051, allocations: 27.62 kB / 2.998 GB, free: 77.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/7.052, allocations: 235.3 kB / 2.998 GB, free: 76.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/7.052, allocations: 4 kB / 2.998 GB, free: 76.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/7.052, allocations: 0 / 2.998 GB, free: 76.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/7.052, allocations: 0 / 2.998 GB, free: 76.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/7.054, allocations: 0.6981 MB / 2.999 GB, free: 76.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/7.054, allocations: 8 kB / 2.999 GB, free: 76.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/7.054, allocations: 40.3 kB / 2.999 GB, free: 76.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/7.054, allocations: 7.938 kB / 2.999 GB, free: 76.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/7.054, allocations: 4 kB / 2.999 GB, free: 76.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/7.054, allocations: 11.92 kB / 2.999 GB, free: 76.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/7.054, allocations: 4 kB / 2.999 GB, free: 76.12 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009884/7.055, allocations: 0.5664 MB / 3 GB, free: 75.45 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001557/7.057, allocations: 1.072 MB / 3.001 GB, free: 74.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/7.057, allocations: 104.8 kB / 3.001 GB, free: 74.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/7.057, allocations: 4 kB / 3.001 GB, free: 74.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/7.057, allocations: 23.95 kB / 3.001 GB, free: 74.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/7.057, allocations: 15.98 kB / 3.001 GB, free: 74.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/7.057, allocations: 8 kB / 3.001 GB, free: 74.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002234/7.058, allocations: 157.2 kB / 3.001 GB, free: 73.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002594/7.06, allocations: 267.8 kB / 3.001 GB, free: 73.68 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.002774/7.063, allocations: 1.205 MB / 3.002 GB, free: 72.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004885/7.063, allocations: 135.8 kB / 3.003 GB, free: 72.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/7.063, allocations: 0 / 3.003 GB, free: 72.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/7.064, allocations: 80.55 kB / 3.003 GB, free: 72.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/7.065, allocations: 129.1 kB / 3.003 GB, free: 72.13 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/7.066, allocations: 453.9 kB / 3.003 GB, free: 71.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/7.067, allocations: 0.8177 MB / 3.004 GB, free: 70.79 MB / 0.6355 GB Notification: Performance of SimCode: time 3.4e-07/7.067, allocations: 0 / 3.004 GB, free: 70.79 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)