Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.7254/0.7254, allocations: 127.4 MB / 134.6 MB, free: 3.953 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.001225/0.001226, allocations: 177.3 kB / 164.4 MB, free: 6.758 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.682/1.682, allocations: 205.1 MB / 399.1 MB, free: 6.145 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.001118/0.001118, allocations: 90.77 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3108/0.312, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.4826, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5195/1.002, allocations: 114.6 MB / 0.733 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.002, allocations: 87.95 kB / 0.733 GB, free: 13.53 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.03658/1.039, allocations: 11.68 MB / 0.7444 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.039, allocations: 15.98 kB / 0.7445 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/1.039, allocations: 51.59 kB / 0.7445 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/1.041, allocations: 0.6273 MB / 0.7451 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/1.041, allocations: 0 / 0.7451 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/1.041, allocations: 12 kB / 0.7451 GB, free: 1.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002272/1.041, allocations: 123.9 kB / 0.7452 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/1.041, allocations: 125.5 kB / 0.7454 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.041, allocations: 3.984 kB / 0.7454 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/1.041, allocations: 4 kB / 0.7454 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.041, allocations: 0 / 0.7454 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/1.042, allocations: 472.9 kB / 0.7458 GB, free: 320 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/1.042, allocations: 146.5 kB / 0.746 GB, free: 164 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/1.043, allocations: 68.83 kB / 0.746 GB, free: 92 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/1.043, allocations: 0 / 0.746 GB, free: 92 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/1.043, allocations: 30.56 kB / 0.7461 GB, free: 52 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/1.043, allocations: 4 kB / 0.7461 GB, free: 48 kB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005767/1.043, allocations: 181.6 kB / 0.7462 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/1.043, allocations: 51.41 kB / 0.7463 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/1.044, allocations: 271.4 kB / 0.7465 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.044, allocations: 29.7 kB / 0.7466 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/1.044, allocations: 120.4 kB / 0.7467 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/1.044, allocations: 31.55 kB / 0.7467 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/1.044, allocations: 3.938 kB / 0.7467 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.044, allocations: 338.8 kB / 0.747 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/1.044, allocations: 67.97 kB / 0.7471 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/1.044, allocations: 129.8 kB / 0.7472 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/1.044, allocations: 91.88 kB / 0.7473 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.044, allocations: 0 / 0.7473 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005275/1.045, allocations: 261 kB / 0.7476 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003207/1.045, allocations: 0.6993 MB / 0.7483 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.045, allocations: 0 / 0.7483 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.045, allocations: 4 kB / 0.7483 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/1.046, allocations: 51.91 kB / 0.7483 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.046, allocations: 7.984 kB / 0.7483 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/1.046, allocations: 27.75 kB / 0.7483 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/1.046, allocations: 15.98 kB / 0.7484 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/1.046, allocations: 4 kB / 0.7484 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003809/1.046, allocations: 155.8 kB / 0.7485 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.046, allocations: 4 kB / 0.7485 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/1.046, allocations: 4 kB / 0.7485 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/1.047, allocations: 52.11 kB / 0.7486 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.047, allocations: 4 kB / 0.7486 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/1.047, allocations: 27.77 kB / 0.7486 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/1.047, allocations: 12 kB / 0.7486 GB, free: 13.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0001207/1.047, allocations: 116 kB / 0.7487 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/1.047, allocations: 23.62 kB / 0.7487 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/1.047, allocations: 172.3 kB / 0.7489 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.048, allocations: 0 / 0.7489 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.048, allocations: 0 / 0.7489 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.048, allocations: 7.984 kB / 0.7489 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/1.048, allocations: 234 kB / 0.7491 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.048, allocations: 3.984 kB / 0.7491 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/1.048, allocations: 27.98 kB / 0.7492 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.048, allocations: 4 kB / 0.7492 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.048, allocations: 0 / 0.7492 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.048, allocations: 4 kB / 0.7492 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.048, allocations: 0 / 0.7492 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003415/1.048, allocations: 243.1 kB / 0.7494 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006356/1.049, allocations: 0.6168 MB / 0.75 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/1.049, allocations: 100.8 kB / 0.7501 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/1.049, allocations: 4 kB / 0.7501 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/1.049, allocations: 11.98 kB / 0.7501 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/1.05, allocations: 7.906 kB / 0.7501 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/1.05, allocations: 11.98 kB / 0.7501 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002458/1.05, allocations: 211.1 kB / 0.7503 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00218/1.052, allocations: 215.6 kB / 0.7505 GB, free: 11.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001077/1.053, allocations: 398.8 kB / 0.7509 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006303/1.054, allocations: 253.7 kB / 0.7512 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.054, allocations: 0 / 0.7512 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/1.054, allocations: 48.8 kB / 0.7512 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/1.054, allocations: 88.08 kB / 0.7513 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/1.055, allocations: 320.1 kB / 0.7516 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006396/1.056, allocations: 0.8187 MB / 0.7524 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.056, allocations: 0 / 0.7524 GB, free: 9.254 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)