Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001504/0.001504, allocations: 191.7 kB / 7.804 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4598/0.4598, allocations: 90.85 MB / 99.08 MB, free: 14.9 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.328/1.328, allocations: 221.4 MB / 342.7 MB, free: 5.48 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.0009571/0.0009571, allocations: 95.73 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1797/0.1807, allocations: 78.45 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.5947, allocations: 72.3 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.7095, allocations: 101.2 MB / 0.6518 GB, free: 8.871 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.7098, allocations: 84.61 kB / 0.6519 GB, free: 8.789 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.007111/0.7169, allocations: 2.303 MB / 0.6541 GB, free: 6.473 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.717, allocations: 8 kB / 0.6541 GB, free: 6.465 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.717, allocations: 3.906 kB / 0.6541 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.7172, allocations: 171.1 kB / 0.6543 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.7172, allocations: 4.625 kB / 0.6543 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.7172, allocations: 3.984 kB / 0.6543 GB, free: 6.246 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.74e-05/0.7173, allocations: 8.281 kB / 0.6543 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.978e-05/0.7174, allocations: 26.64 kB / 0.6543 GB, free: 6.211 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.7174, allocations: 3.906 kB / 0.6543 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.7174, allocations: 0 / 0.6543 GB, free: 6.207 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7174, allocations: 4.938 kB / 0.6543 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.7176, allocations: 131.3 kB / 0.6545 GB, free: 6.039 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.7176, allocations: 22.61 kB / 0.6545 GB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.7177, allocations: 9.766 kB / 0.6545 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.7177, allocations: 0.9062 kB / 0.6545 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.7177, allocations: 35.25 kB / 0.6545 GB, free: 5.953 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.7177, allocations: 0 / 0.6545 GB, free: 5.953 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001393/0.7179, allocations: 42.2 kB / 0.6546 GB, free: 5.906 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.7179, allocations: 52.25 kB / 0.6546 GB, free: 5.844 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.718, allocations: 93.7 kB / 0.6547 GB, free: 5.746 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.718, allocations: 25.7 kB / 0.6547 GB, free: 5.715 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.7181, allocations: 80.67 kB / 0.6548 GB, free: 5.633 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.7181, allocations: 4.656 kB / 0.6548 GB, free: 5.629 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.7181, allocations: 0 / 0.6548 GB, free: 5.629 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7182, allocations: 319.9 kB / 0.6551 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.7182, allocations: 0 / 0.6551 GB, free: 5.309 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.7182, allocations: 2.719 kB / 0.6551 GB, free: 5.309 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.553e-05/0.7183, allocations: 4.906 kB / 0.6551 GB, free: 5.305 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.7183, allocations: 0 / 0.6551 GB, free: 5.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.214e-05/0.7183, allocations: 42.12 kB / 0.6552 GB, free: 5.258 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7183, allocations: 10.47 kB / 0.6552 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.7184, allocations: 0 / 0.6552 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/0.7184, allocations: 0.75 kB / 0.6552 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.7185, allocations: 11.98 kB / 0.6552 GB, free: 5.238 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003816/0.7189, allocations: 0.5901 MB / 0.6558 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.7189, allocations: 0 / 0.6558 GB, free: 4.629 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.719, allocations: 4.031 kB / 0.6558 GB, free: 4.625 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.683e-05/0.719, allocations: 108.9 kB / 0.6559 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-06/0.719, allocations: 0 / 0.6559 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.7192, allocations: 48.94 kB / 0.6559 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.7192, allocations: 0.7188 kB / 0.6559 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.7192, allocations: 0 / 0.6559 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7192, allocations: 0.625 kB / 0.6559 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.134e-05/0.7193, allocations: 142.6 kB / 0.6561 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7193, allocations: 0 / 0.6561 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.7194, allocations: 9.5 kB / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7194, allocations: 0.6875 kB / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.7194, allocations: 0 / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003063/0.7197, allocations: 0.5914 MB / 0.6566 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7197, allocations: 0.75 kB / 0.6566 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.816e-05/0.7198, allocations: 67.64 kB / 0.6567 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002646/0.7201, allocations: 442.1 kB / 0.6571 GB, free: 3.129 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.7201, allocations: 79.2 kB / 0.6572 GB, free: 3.035 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.7201, allocations: 4.516 kB / 0.6572 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.7202, allocations: 2.219 kB / 0.6572 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.7202, allocations: 7.906 kB / 0.6572 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.7202, allocations: 0.5312 kB / 0.6572 GB, free: 3.023 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.067e-05/0.7202, allocations: 75.78 kB / 0.6573 GB, free: 2.949 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007575/0.721, allocations: 8.625 kB / 0.6573 GB, free: 2.941 MB / 474.7 MB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001793/0.7212, allocations: 123.1 kB / 0.6574 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.7214, allocations: 19.98 kB / 0.6574 GB, free: 2.789 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7214, allocations: 4 kB / 0.6574 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.478e-05/0.7215, allocations: 8 kB / 0.6574 GB, free: 2.777 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.7216, allocations: 0 / 0.6574 GB, free: 2.777 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.7218, allocations: 64.28 kB / 0.6575 GB, free: 2.691 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.7221, allocations: 0.6841 MB / 0.6582 GB, free: 1.98 MB / 474.7 MB Notification: Performance of SimCode: time 2.8e-07/0.7221, allocations: 1.219 kB / 0.6582 GB, free: 1.98 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)