Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.003088/0.003088, allocations: 186.6 kB / 7.465 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.755/0.755, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001052, allocations: 98.64 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4443/0.4454, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.6241, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5434/1.168, allocations: 111.3 MB / 0.742 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/1.168, allocations: 82.64 kB / 0.7421 GB, free: 10.71 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01121/1.179, allocations: 4.029 MB / 0.746 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.179, allocations: 7.688 kB / 0.746 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/1.179, allocations: 11.84 kB / 0.7461 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/1.179, allocations: 167.8 kB / 0.7462 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/1.179, allocations: 0 / 0.7462 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/1.179, allocations: 0 / 0.7462 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.067e-05/1.179, allocations: 12.88 kB / 0.7462 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.051e-05/1.18, allocations: 43.64 kB / 0.7463 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/1.18, allocations: 0 / 0.7463 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/1.18, allocations: 0 / 0.7463 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.18, allocations: 3.938 kB / 0.7463 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/1.18, allocations: 140.5 kB / 0.7464 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/1.18, allocations: 26.55 kB / 0.7464 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/1.18, allocations: 16.06 kB / 0.7464 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/1.18, allocations: 0.6562 kB / 0.7464 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.18, allocations: 38.31 kB / 0.7465 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/1.18, allocations: 3.938 kB / 0.7465 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005589/1.181, allocations: 279.2 kB / 0.7468 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/1.181, allocations: 55.31 kB / 0.7468 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/1.181, allocations: 86.17 kB / 0.7469 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.181, allocations: 25.7 kB / 0.7469 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/1.181, allocations: 84.59 kB / 0.747 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.181, allocations: 21.27 kB / 0.747 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/1.181, allocations: 0 / 0.747 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.181, allocations: 319.4 kB / 0.7473 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/1.181, allocations: 11.06 kB / 0.7473 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.614e-05/1.181, allocations: 11.66 kB / 0.7473 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.659e-05/1.181, allocations: 9.016 kB / 0.7473 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.71e-07/1.181, allocations: 0 / 0.7473 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.925e-05/1.181, allocations: 69.58 kB / 0.7474 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.181, allocations: 7.25 kB / 0.7474 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/1.181, allocations: 0 / 0.7474 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/1.181, allocations: 0 / 0.7474 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/1.181, allocations: 13.45 kB / 0.7474 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.181, allocations: 0 / 0.7474 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/1.181, allocations: 4 kB / 0.7474 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/1.181, allocations: 6.766 kB / 0.7474 GB, free: 24.74 MB / 0.5105 GB 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 (7): * Single equations (assignments): 7 * 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 6.803e-05/1.181, allocations: 101 kB / 0.7475 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/1.181, allocations: 12.34 kB / 0.7476 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/1.181, allocations: 62.12 kB / 0.7476 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/1.182, allocations: 128 / 0.7476 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.182, allocations: 4 kB / 0.7476 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.182, allocations: 0.8438 kB / 0.7476 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/1.182, allocations: 291.5 kB / 0.7479 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.182, allocations: 3.938 kB / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.286e-05/1.182, allocations: 13.77 kB / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.182, allocations: 0 / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/1.182, allocations: 0 / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.182, allocations: 4.453 kB / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.182, allocations: 0 / 0.7479 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001646/1.182, allocations: 186.9 kB / 0.7481 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002617/1.182, allocations: 0.5653 MB / 0.7486 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/1.182, allocations: 86.52 kB / 0.7487 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/1.182, allocations: 8.625 kB / 0.7487 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/1.183, allocations: 0.75 kB / 0.7487 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/1.183, allocations: 5.297 kB / 0.7487 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/1.183, allocations: 3.844 kB / 0.7487 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.222e-05/1.183, allocations: 79.78 kB / 0.7488 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008056/1.183, allocations: 27.8 kB / 0.7488 GB, free: 23.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002136/1.184, allocations: 136 kB / 0.749 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.007e-05/1.184, allocations: 26.33 kB / 0.749 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.184, allocations: 4 kB / 0.749 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/1.184, allocations: 19.94 kB / 0.749 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/1.184, allocations: 3.844 kB / 0.749 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/1.184, allocations: 130.3 kB / 0.7492 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/1.185, allocations: 0.7052 MB / 0.7498 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/1.185, allocations: 0 / 0.7498 GB, free: 22.47 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)