Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001215/0.001215, allocations: 183.3 kB / 7.465 MB, free: 468 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6908/0.6908, allocations: 133.5 MB / 141.4 MB, free: 3.727 MB / 110.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.3 MB / 395 MB, free: 14.07 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 104.6 kB / 477.8 MB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.4698/0.4709, allocations: 88.44 MB / 0.553 GB, free: 90.87 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.6561, allocations: 82.29 MB / 0.6333 GB, free: 38.39 MB / 462.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.797, allocations: 111.2 MB / 0.7419 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.7972, allocations: 79.95 kB / 0.742 GB, free: 6.938 MB / 0.5294 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.008622/0.8059, allocations: 2.875 MB / 0.7448 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.8059, allocations: 12 kB / 0.7448 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.806, allocations: 3.906 kB / 0.7448 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.8061, allocations: 163.1 kB / 0.745 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.8061, allocations: 8 kB / 0.745 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.8061, allocations: 0 / 0.745 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.322e-05/0.8062, allocations: 11.91 kB / 0.745 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.956e-05/0.8063, allocations: 37.69 kB / 0.745 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.8063, allocations: 0 / 0.745 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.8063, allocations: 0 / 0.745 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.8063, allocations: 0 / 0.745 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.8065, allocations: 134.3 kB / 0.7452 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.8066, allocations: 37.66 kB / 0.7452 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/0.8067, allocations: 8.859 kB / 0.7452 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.8067, allocations: 8.078 kB / 0.7452 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.8067, allocations: 38.47 kB / 0.7453 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8067, allocations: 0 / 0.7453 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0004946/0.8072, allocations: 282.4 kB / 0.7455 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.8073, allocations: 59.41 kB / 0.7456 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.8074, allocations: 89 kB / 0.7457 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.8074, allocations: 25.7 kB / 0.7457 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.8074, allocations: 84.08 kB / 0.7458 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.8074, allocations: 23.7 kB / 0.7458 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.8074, allocations: 3.938 kB / 0.7458 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.8075, allocations: 310.8 kB / 0.7461 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.8076, allocations: 12 kB / 0.7461 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.8076, allocations: 8 kB / 0.7461 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.8076, allocations: 19.98 kB / 0.7461 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.8076, allocations: 0 / 0.7461 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.578e-05/0.8077, allocations: 53.67 kB / 0.7462 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.8077, allocations: 11.98 kB / 0.7462 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.8078, allocations: 7.938 kB / 0.7462 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.8078, allocations: 0 / 0.7462 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.32e-05/0.8078, allocations: 8 kB / 0.7462 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.8078, allocations: 0 / 0.7462 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.8079, allocations: 0 / 0.7462 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.8079, allocations: 4 kB / 0.7462 GB, free: 2.387 MB / 0.5294 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.192e-05/0.8079, allocations: 105 kB / 0.7463 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.808, allocations: 11.91 kB / 0.7463 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.8081, allocations: 65.73 kB / 0.7464 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8081, allocations: 3.938 kB / 0.7464 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.8081, allocations: 0 / 0.7464 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8081, allocations: 0 / 0.7464 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.8084, allocations: 284 kB / 0.7467 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8084, allocations: 0 / 0.7467 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/0.8085, allocations: 16.02 kB / 0.7467 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.8085, allocations: 4 kB / 0.7467 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.8085, allocations: 3.938 kB / 0.7467 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.8085, allocations: 0 / 0.7467 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8085, allocations: 0 / 0.7467 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001611/0.8087, allocations: 182 kB / 0.7469 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002944/0.809, allocations: 0.5729 MB / 0.7474 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.8091, allocations: 89.16 kB / 0.7475 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.8091, allocations: 3.938 kB / 0.7475 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.8092, allocations: 4 kB / 0.7475 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.8092, allocations: 8.047 kB / 0.7475 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.8092, allocations: 4 kB / 0.7475 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.238e-05/0.8092, allocations: 75.28 kB / 0.7476 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007983/0.81, allocations: 35.78 kB / 0.7476 GB, free: 0.7969 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001895/0.8102, allocations: 127.2 kB / 0.7477 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.524e-05/0.8103, allocations: 28.17 kB / 0.7478 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8103, allocations: 0 / 0.7478 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.8104, allocations: 16 kB / 0.7478 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.8105, allocations: 4.219 kB / 0.7478 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.8108, allocations: 133.9 kB / 0.7479 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2553/1.066, allocations: 0.7017 MB / 0.7486 GB, free: 167.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.853e-06/1.066, allocations: 0 / 0.7486 GB, free: 167.1 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)