Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.729/0.729, allocations: 141.8 MB / 149.1 MB, free: 13.71 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001063, allocations: 173.5 kB / 181.9 MB, free: 10.32 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.4 MB / 436 MB, free: 2.844 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 101.5 kB / 0.507 GB, free: 17.84 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 278.5 kB / 0.5884 GB, free: 4.312 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.363/0.3647, allocations: 89.64 MB / 0.676 GB, free: 137 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.5052, allocations: 82.78 MB / 0.7568 GB, free: 84.08 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.6167, allocations: 107.9 MB / 0.8621 GB, free: 8.078 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.617, allocations: 72.88 kB / 0.8622 GB, free: 8.008 MB / 0.5419 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.003514/0.6205, allocations: 1.158 MB / 0.8633 GB, free: 6.801 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6205, allocations: 12 kB / 0.8634 GB, free: 6.789 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.6206, allocations: 0 / 0.8634 GB, free: 6.789 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6207, allocations: 178.9 kB / 0.8635 GB, free: 6.574 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.6207, allocations: 0 / 0.8635 GB, free: 6.574 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.6207, allocations: 0 / 0.8635 GB, free: 6.574 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001066/0.6208, allocations: 39.89 kB / 0.8636 GB, free: 6.535 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.786e-05/0.6209, allocations: 49.62 kB / 0.8636 GB, free: 6.48 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6209, allocations: 0 / 0.8636 GB, free: 6.48 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.621, allocations: 7.938 kB / 0.8636 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.621, allocations: 0 / 0.8636 GB, free: 6.473 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.6215, allocations: 309.4 kB / 0.8639 GB, free: 6.129 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.6216, allocations: 42.56 kB / 0.864 GB, free: 6.078 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.6216, allocations: 22.83 kB / 0.864 GB, free: 6.055 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.6218, allocations: 109.2 kB / 0.8641 GB, free: 5.93 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.6218, allocations: 34.56 kB / 0.8641 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.6218, allocations: 0 / 0.8641 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0002308/0.6221, allocations: 77.52 kB / 0.8642 GB, free: 5.805 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.6221, allocations: 55.41 kB / 0.8642 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.6222, allocations: 113 kB / 0.8643 GB, free: 5.621 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.6222, allocations: 25.7 kB / 0.8644 GB, free: 5.59 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.6222, allocations: 92.12 kB / 0.8645 GB, free: 5.496 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.6222, allocations: 7.812 kB / 0.8645 GB, free: 5.488 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.6222, allocations: 0 / 0.8645 GB, free: 5.488 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.6223, allocations: 314.8 kB / 0.8648 GB, free: 5.172 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.433e-05/0.6224, allocations: 19.98 kB / 0.8648 GB, free: 5.152 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.6224, allocations: 12 kB / 0.8648 GB, free: 5.141 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.6225, allocations: 27.97 kB / 0.8648 GB, free: 5.113 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6225, allocations: 0 / 0.8648 GB, free: 5.113 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000153/0.6227, allocations: 81.56 kB / 0.8649 GB, free: 5.027 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.6227, allocations: 7.938 kB / 0.8649 GB, free: 5.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6227, allocations: 4 kB / 0.8649 GB, free: 5.016 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.6227, allocations: 0 / 0.8649 GB, free: 5.016 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.6229, allocations: 23.98 kB / 0.8649 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.6229, allocations: 0 / 0.8649 GB, free: 4.992 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.623, allocations: 15.98 kB / 0.865 GB, free: 4.977 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.623, allocations: 4 kB / 0.865 GB, free: 4.973 MB / 0.5419 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 6.426e-05/0.6231, allocations: 116.8 kB / 0.8651 GB, free: 4.852 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.6231, allocations: 4 kB / 0.8651 GB, free: 4.848 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.6233, allocations: 93.75 kB / 0.8652 GB, free: 4.75 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6233, allocations: 4.031 kB / 0.8652 GB, free: 4.746 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6233, allocations: 4 kB / 0.8652 GB, free: 4.742 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6233, allocations: 0 / 0.8652 GB, free: 4.742 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.6235, allocations: 158.1 kB / 0.8653 GB, free: 4.551 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6235, allocations: 0 / 0.8653 GB, free: 4.551 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.6236, allocations: 39.84 kB / 0.8654 GB, free: 4.512 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.6236, allocations: 0 / 0.8654 GB, free: 4.512 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6237, allocations: 0 / 0.8654 GB, free: 4.512 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6237, allocations: 3.906 kB / 0.8654 GB, free: 4.508 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6237, allocations: 0 / 0.8654 GB, free: 4.508 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001878/0.6239, allocations: 179.4 kB / 0.8655 GB, free: 4.316 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002867/0.6242, allocations: 0.535 MB / 0.8661 GB, free: 3.762 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.6242, allocations: 85.02 kB / 0.8661 GB, free: 3.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.6242, allocations: 0 / 0.8661 GB, free: 3.66 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.6244, allocations: 23.92 kB / 0.8662 GB, free: 3.637 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.6244, allocations: 11.98 kB / 0.8662 GB, free: 3.625 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6244, allocations: 0 / 0.8662 GB, free: 3.625 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.754e-05/0.6245, allocations: 98.77 kB / 0.8663 GB, free: 3.531 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007894/0.6253, allocations: 12 kB / 0.8663 GB, free: 3.52 MB / 0.5419 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.0001263/0.6254, allocations: 107.2 kB / 0.8664 GB, free: 3.406 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 9.755e-05/0.6255, allocations: 31.98 kB / 0.8664 GB, free: 3.375 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.6255, allocations: 0 / 0.8664 GB, free: 3.375 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.6256, allocations: 20 kB / 0.8664 GB, free: 3.355 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.6257, allocations: 7.906 kB / 0.8664 GB, free: 3.348 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.626, allocations: 95.73 kB / 0.8665 GB, free: 3.227 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6262, allocations: 0.7032 MB / 0.8672 GB, free: 2.5 MB / 0.5419 GB Notification: Performance of SimCode: time 2.71e-07/0.6263, allocations: 0 / 0.8672 GB, free: 2.5 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)