Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.6856/0.6856, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 181.3 kB / 164.4 MB, free: 6.855 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 101.8 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3596/0.3608, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.5525, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/1.074, allocations: 101.8 MB / 0.7204 GB, free: 10.51 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.074, allocations: 75.95 kB / 0.7205 GB, free: 10.43 MB / 490.7 MB 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.003962/1.078, allocations: 1.153 MB / 0.7216 GB, free: 9.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/1.078, allocations: 8 kB / 0.7216 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.079, allocations: 7.906 kB / 0.7216 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/1.079, allocations: 170.9 kB / 0.7218 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.079, allocations: 0 / 0.7218 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/1.079, allocations: 4 kB / 0.7218 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001445/1.079, allocations: 31.98 kB / 0.7218 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/1.079, allocations: 57.59 kB / 0.7219 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.079, allocations: 4 kB / 0.7219 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/1.079, allocations: 0 / 0.7219 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/1.079, allocations: 0 / 0.7219 GB, free: 8.918 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/1.08, allocations: 309.2 kB / 0.7222 GB, free: 8.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/1.08, allocations: 46.56 kB / 0.7222 GB, free: 8.523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/1.08, allocations: 24.86 kB / 0.7222 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/1.08, allocations: 105.2 kB / 0.7223 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.08, allocations: 34.56 kB / 0.7224 GB, free: 8.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.08, allocations: 0 / 0.7224 GB, free: 8.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002873/1.081, allocations: 77.58 kB / 0.7224 GB, free: 8.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.081, allocations: 59.94 kB / 0.7225 GB, free: 8.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/1.081, allocations: 106.2 kB / 0.7226 GB, free: 8.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.081, allocations: 25.7 kB / 0.7226 GB, free: 8.039 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/1.081, allocations: 92.06 kB / 0.7227 GB, free: 7.945 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/1.081, allocations: 7.906 kB / 0.7227 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/1.081, allocations: 2.188 kB / 0.7227 GB, free: 7.938 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/1.081, allocations: 322.7 kB / 0.723 GB, free: 7.613 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/1.081, allocations: 12 kB / 0.723 GB, free: 7.602 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/1.081, allocations: 23.98 kB / 0.7231 GB, free: 7.578 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/1.081, allocations: 23.98 kB / 0.7231 GB, free: 7.555 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.081, allocations: 0 / 0.7231 GB, free: 7.555 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001764/1.081, allocations: 77.56 kB / 0.7232 GB, free: 7.473 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.081, allocations: 4 kB / 0.7232 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.081, allocations: 0 / 0.7232 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.081, allocations: 0 / 0.7232 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/1.082, allocations: 32.67 kB / 0.7232 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/1.082, allocations: 0.7812 kB / 0.7232 GB, free: 7.441 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-05/1.082, allocations: 19.97 kB / 0.7232 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/1.082, allocations: 12.19 kB / 0.7232 GB, free: 7.41 MB / 490.7 MB 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.611e-05/1.082, allocations: 104.9 kB / 0.7233 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/1.082, allocations: 3.906 kB / 0.7233 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/1.082, allocations: 101.6 kB / 0.7234 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.082, allocations: 3.906 kB / 0.7234 GB, free: 7.184 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.082, allocations: 3.938 kB / 0.7234 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.082, allocations: 0 / 0.7234 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/1.082, allocations: 162.1 kB / 0.7236 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.082, allocations: 4 kB / 0.7236 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/1.082, allocations: 19.98 kB / 0.7236 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.082, allocations: 0 / 0.7236 GB, free: 6.961 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/1.082, allocations: 4 kB / 0.7236 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/1.082, allocations: 0 / 0.7236 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.082, allocations: 0 / 0.7236 GB, free: 6.957 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001869/1.083, allocations: 183.3 kB / 0.7238 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000294/1.083, allocations: 0.5428 MB / 0.7243 GB, free: 6.199 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/1.083, allocations: 81.02 kB / 0.7244 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/1.083, allocations: 0 / 0.7244 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.083, allocations: 27.97 kB / 0.7244 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/1.083, allocations: 0 / 0.7244 GB, free: 6.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/1.083, allocations: 4 kB / 0.7244 GB, free: 6.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.861e-05/1.083, allocations: 102.3 kB / 0.7245 GB, free: 5.973 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008101/1.084, allocations: 11.94 kB / 0.7245 GB, free: 5.961 MB / 490.7 MB 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.0001787/1.084, allocations: 103.2 kB / 0.7246 GB, free: 5.852 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/1.084, allocations: 39.92 kB / 0.7247 GB, free: 5.812 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/1.084, allocations: 0 / 0.7247 GB, free: 5.812 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/1.084, allocations: 16 kB / 0.7247 GB, free: 5.797 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/1.085, allocations: 3.906 kB / 0.7247 GB, free: 5.793 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/1.085, allocations: 95.8 kB / 0.7248 GB, free: 5.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/1.085, allocations: 0.711 MB / 0.7255 GB, free: 4.938 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/1.085, allocations: 0 / 0.7255 GB, free: 4.938 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)