Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.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.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic",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.001223/0.001223, allocations: 185.2 kB / 7.463 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6844/0.6844, allocations: 133.5 MB / 141.4 MB, free: 4.875 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 395 MB, free: 13.83 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009514/0.0009514, allocations: 107 kB / 477.8 MB, free: 11.12 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3948/0.3958, allocations: 88.42 MB / 0.5529 GB, free: 49.96 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5705/0.9664, allocations: 82.3 MB / 0.6333 GB, free: 5.633 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/1.147, allocations: 110.5 MB / 0.7412 GB, free: 11.02 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003811/1.147, allocations: 71.97 kB / 0.7413 GB, free: 10.95 MB / 0.5183 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004387/1.152, allocations: 1.157 MB / 0.7424 GB, free: 9.758 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/1.152, allocations: 8 kB / 0.7424 GB, free: 9.75 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/1.152, allocations: 7.906 kB / 0.7425 GB, free: 9.742 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/1.152, allocations: 167 kB / 0.7426 GB, free: 9.539 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.152, allocations: 1.75 kB / 0.7426 GB, free: 9.539 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/1.152, allocations: 3.984 kB / 0.7426 GB, free: 9.535 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/1.152, allocations: 39.98 kB / 0.7427 GB, free: 9.496 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.71e-05/1.152, allocations: 53.62 kB / 0.7427 GB, free: 9.438 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/1.152, allocations: 0 / 0.7427 GB, free: 9.438 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/1.152, allocations: 3.984 kB / 0.7427 GB, free: 9.434 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.152, allocations: 4 kB / 0.7427 GB, free: 9.43 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/1.153, allocations: 305.3 kB / 0.743 GB, free: 9.094 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/1.153, allocations: 42.56 kB / 0.743 GB, free: 9.043 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.883e-05/1.153, allocations: 28.95 kB / 0.7431 GB, free: 9.012 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/1.153, allocations: 109.1 kB / 0.7432 GB, free: 8.887 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.153, allocations: 30.56 kB / 0.7432 GB, free: 8.848 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/1.153, allocations: 3.938 kB / 0.7432 GB, free: 8.844 MB / 0.5183 GB Notification: Performance of matching and sorting (n=3): time 0.000381/1.154, allocations: 81.58 kB / 0.7433 GB, free: 8.758 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/1.154, allocations: 55.39 kB / 0.7433 GB, free: 8.691 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.154, allocations: 108.4 kB / 0.7434 GB, free: 8.582 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.154, allocations: 30.67 kB / 0.7435 GB, free: 8.547 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/1.154, allocations: 92.05 kB / 0.7436 GB, free: 8.453 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/1.154, allocations: 3.906 kB / 0.7436 GB, free: 8.449 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/1.154, allocations: 0 / 0.7436 GB, free: 8.449 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.154, allocations: 322.8 kB / 0.7439 GB, free: 8.125 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/1.154, allocations: 16 kB / 0.7439 GB, free: 8.109 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3e-05/1.154, allocations: 15.98 kB / 0.7439 GB, free: 8.094 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/1.154, allocations: 27.92 kB / 0.7439 GB, free: 8.066 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.154, allocations: 0 / 0.7439 GB, free: 8.066 MB / 0.5183 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000173/1.155, allocations: 89.44 kB / 0.744 GB, free: 7.973 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.155, allocations: 6.969 kB / 0.744 GB, free: 7.969 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.155, allocations: 0 / 0.744 GB, free: 7.969 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/1.155, allocations: 0 / 0.744 GB, free: 7.969 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/1.155, allocations: 23.98 kB / 0.744 GB, free: 7.945 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/1.155, allocations: 0 / 0.744 GB, free: 7.945 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/1.155, allocations: 31.88 kB / 0.7441 GB, free: 7.914 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.155, allocations: 0 / 0.7441 GB, free: 7.914 MB / 0.5183 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 (3): * Single equations (assignments): 3 * 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 8.038e-05/1.155, allocations: 111.7 kB / 0.7442 GB, free: 7.801 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/1.155, allocations: 7.906 kB / 0.7442 GB, free: 7.793 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/1.155, allocations: 89.64 kB / 0.7443 GB, free: 7.691 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.155, allocations: 0 / 0.7443 GB, free: 7.691 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.155, allocations: 0 / 0.7443 GB, free: 7.691 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.155, allocations: 4 kB / 0.7443 GB, free: 7.688 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/1.155, allocations: 158.1 kB / 0.7444 GB, free: 7.496 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.155, allocations: 7.938 kB / 0.7444 GB, free: 7.488 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/1.156, allocations: 19.98 kB / 0.7445 GB, free: 7.469 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.156, allocations: 0 / 0.7445 GB, free: 7.469 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.156, allocations: 0 / 0.7445 GB, free: 7.469 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.156, allocations: 0 / 0.7445 GB, free: 7.469 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.156, allocations: 8.234 kB / 0.7445 GB, free: 7.461 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000212/1.156, allocations: 179.4 kB / 0.7446 GB, free: 7.27 MB / 0.5183 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003115/1.156, allocations: 0.5466 MB / 0.7452 GB, free: 6.703 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/1.156, allocations: 81.02 kB / 0.7452 GB, free: 6.605 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/1.156, allocations: 0 / 0.7452 GB, free: 6.605 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/1.156, allocations: 23.97 kB / 0.7453 GB, free: 6.582 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/1.156, allocations: 4 kB / 0.7453 GB, free: 6.578 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/1.156, allocations: 0 / 0.7453 GB, free: 6.578 MB / 0.5183 GB Notification: Performance of sort global known variables: time 6.661e-05/1.157, allocations: 103.2 kB / 0.7454 GB, free: 6.477 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.0007889/1.157, allocations: 19.94 kB / 0.7454 GB, free: 6.457 MB / 0.5183 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 (3): * Single equations (assignments): 3 * 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.0001766/1.158, allocations: 99.25 kB / 0.7455 GB, free: 6.352 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.0001141/1.158, allocations: 31.98 kB / 0.7455 GB, free: 6.32 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.158, allocations: 0 / 0.7455 GB, free: 6.32 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/1.158, allocations: 16 kB / 0.7455 GB, free: 6.305 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/1.158, allocations: 7.938 kB / 0.7455 GB, free: 6.297 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003504/1.158, allocations: 103.7 kB / 0.7456 GB, free: 6.168 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/1.159, allocations: 0.711 MB / 0.7463 GB, free: 5.434 MB / 0.5183 GB Notification: Performance of SimCode: time 2.51e-07/1.159, allocations: 0 / 0.7463 GB, free: 5.434 MB / 0.5183 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Biquadratic.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Biquadratic.pipe 2>&1)