Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.004591/0.004591, allocations: 183.7 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7194/0.7194, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.597/1.597, 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.001095/0.001095, allocations: 98.03 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.476/0.4772, allocations: 88.45 MB / 0.5529 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.6895, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5743/1.264, allocations: 112 MB / 0.7427 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/1.264, allocations: 93.62 kB / 0.7428 GB, free: 10.8 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.01015/1.274, allocations: 3.363 MB / 0.7461 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.274, allocations: 11.53 kB / 0.7461 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/1.274, allocations: 8.703 kB / 0.7461 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/1.275, allocations: 171.5 kB / 0.7463 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/1.275, allocations: 3.844 kB / 0.7463 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/1.275, allocations: 3.938 kB / 0.7463 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00014/1.275, allocations: 39.14 kB / 0.7463 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/1.275, allocations: 74.25 kB / 0.7464 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/1.275, allocations: 0 / 0.7464 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/1.275, allocations: 0 / 0.7464 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.275, allocations: 0 / 0.7464 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004815/1.276, allocations: 271.5 kB / 0.7466 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.215e-05/1.276, allocations: 53.81 kB / 0.7467 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/1.276, allocations: 43.45 kB / 0.7467 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/1.276, allocations: 3.375 kB / 0.7467 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.276, allocations: 30.56 kB / 0.7467 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.276, allocations: 4 kB / 0.7468 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.000329/1.276, allocations: 108.9 kB / 0.7469 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/1.276, allocations: 77.72 kB / 0.7469 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/1.276, allocations: 111 kB / 0.747 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/1.276, allocations: 25.7 kB / 0.7471 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/1.276, allocations: 88.38 kB / 0.7471 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/1.276, allocations: 4.75 kB / 0.7472 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-06/1.276, allocations: 0 / 0.7472 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.277, allocations: 324.4 kB / 0.7475 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/1.277, allocations: 54.5 kB / 0.7475 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/1.277, allocations: 51.31 kB / 0.7476 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/1.277, allocations: 54.92 kB / 0.7476 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.277, allocations: 0 / 0.7476 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002177/1.277, allocations: 150.5 kB / 0.7478 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/1.277, allocations: 8.578 kB / 0.7478 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.277, allocations: 3.984 kB / 0.7478 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.277, allocations: 0 / 0.7478 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.967e-05/1.277, allocations: 9.047 kB / 0.7478 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/1.277, allocations: 0 / 0.7478 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/1.277, allocations: 13.5 kB / 0.7478 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/1.277, allocations: 4.625 kB / 0.7478 GB, free: 24.94 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 9.799e-05/1.277, allocations: 134.8 kB / 0.7479 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/1.277, allocations: 4.469 kB / 0.7479 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/1.277, allocations: 8.5 kB / 0.7479 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/1.277, allocations: 4.703 kB / 0.7479 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.277, allocations: 0.875 kB / 0.7479 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.277, allocations: 0 / 0.7479 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/1.278, allocations: 151.7 kB / 0.7481 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.278, allocations: 0 / 0.7481 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/1.278, allocations: 4.969 kB / 0.7481 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/1.278, allocations: 3.844 kB / 0.7481 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.278, allocations: 4.812 kB / 0.7481 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/1.278, allocations: 3.938 kB / 0.7481 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.278, allocations: 0 / 0.7481 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002071/1.278, allocations: 212.8 kB / 0.7483 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003232/1.278, allocations: 0.5707 MB / 0.7489 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/1.278, allocations: 85.59 kB / 0.7489 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.278, allocations: 3.938 kB / 0.7489 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/1.278, allocations: 13.64 kB / 0.749 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/1.279, allocations: 5.516 kB / 0.749 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.279, allocations: 4.156 kB / 0.749 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.191e-05/1.279, allocations: 96.5 kB / 0.7491 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009194/1.28, allocations: 74.66 kB / 0.7491 GB, free: 23.77 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0003379/1.28, allocations: 162.9 kB / 0.7493 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002347/1.28, allocations: 156.8 kB / 0.7494 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.28, allocations: 0 / 0.7494 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.194e-05/1.28, allocations: 71.36 kB / 0.7495 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/1.28, allocations: 2.469 kB / 0.7495 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/1.281, allocations: 121.2 kB / 0.7496 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/1.281, allocations: 0.7027 MB / 0.7503 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.281, allocations: 0 / 0.7503 GB, free: 22.79 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)