Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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/HanserModelica 2.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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.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(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.InitializationParameters,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_InitializationParameters",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.00852/0.008519, allocations: 179 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.08258/0.08258, allocations: 8.702 MB / 16.57 MB, free: 436 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.346/2.346, allocations: 221.4 MB / 240.5 MB, free: 8.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 104.6 kB / 293.5 MB, free: 5.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2737/0.2758, allocations: 58.67 MB / 352.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.8312, allocations: 52.54 MB / 404.7 MB, free: 26.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/1.001, allocations: 76.43 MB / 481.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.002, allocations: 55.98 kB / 481.2 MB, free: 14.24 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.009788/1.011, allocations: 1.628 MB / 482.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.478e-05/1.012, allocations: 11.98 kB / 482.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.012, allocations: 84.06 kB / 482.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/1.012, allocations: 238.4 kB / 483.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/1.012, allocations: 152.1 kB / 483.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.012, allocations: 150.6 kB / 483.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/1.012, allocations: 163.5 kB / 483.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/1.013, allocations: 105.6 kB / 483.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/1.013, allocations: 76.34 kB / 483.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/1.013, allocations: 151.1 kB / 483.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.013, allocations: 151.4 kB / 484.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/1.014, allocations: 443.5 kB / 484.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/1.014, allocations: 175.1 kB / 484.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/1.014, allocations: 80.14 kB / 484.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/1.014, allocations: 79.94 kB / 484.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.229e-05/1.014, allocations: 114.5 kB / 485 MB, free: 10.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.925e-06/1.014, allocations: 2.781 kB / 485 MB, free: 10.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001705/1.014, allocations: 33.61 kB / 485 MB, free: 10.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/1.014, allocations: 51.41 kB / 485 MB, free: 10.24 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/1.015, allocations: 141.2 kB / 485.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/1.015, allocations: 29.64 kB / 485.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/1.015, allocations: 93.8 kB / 485.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/1.015, allocations: 0 / 485.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/1.015, allocations: 0 / 485.3 MB, free: 9.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002466/1.015, allocations: 310.8 kB / 485.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/1.015, allocations: 23.98 kB / 485.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/1.015, allocations: 49.09 kB / 485.7 MB, free: 9.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.67e-05/1.015, allocations: 19.98 kB / 485.7 MB, free: 9.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.015, allocations: 4 kB / 485.7 MB, free: 9.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001108/1.016, allocations: 285.4 kB / 486 MB, free: 9.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/1.017, allocations: 7.984 kB / 486 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/1.017, allocations: 4 kB / 486 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004592/1.017, allocations: 41.89 kB / 486 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/1.018, allocations: 27.97 kB / 486.1 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007455/1.025, allocations: 4.932 MB / 491 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/1.025, allocations: 11.88 kB / 491 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/1.025, allocations: 7.984 kB / 491 MB, free: 3.719 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: e:VARIABLE(fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * 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): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003475/1.026, allocations: 184.2 kB / 491.2 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/1.026, allocations: 112.9 kB / 491.3 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/1.026, allocations: 116.9 kB / 491.4 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001882/1.026, allocations: 176.3 kB / 491.6 MB, free: 3.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000238/1.027, allocations: 184.2 kB / 491.8 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002117/1.027, allocations: 184.1 kB / 491.9 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/1.027, allocations: 397.8 kB / 492.3 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001088/1.028, allocations: 105 kB / 492.4 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/1.028, allocations: 108.9 kB / 492.5 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/1.028, allocations: 180.2 kB / 492.7 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/1.028, allocations: 176.3 kB / 492.9 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001667/1.028, allocations: 184.2 kB / 493.1 MB, free: 1.527 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001585/1.028, allocations: 176.3 kB / 493.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003579/1.029, allocations: 315.7 kB / 493.6 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006132/1.029, allocations: 0.6767 MB / 494.2 MB, free: 320 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/1.03, allocations: 186.1 kB / 494.4 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.03, allocations: 184.2 kB / 494.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/1.03, allocations: 101 kB / 494.7 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.03, allocations: 180.2 kB / 494.9 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/1.03, allocations: 109.2 kB / 495 MB, free: 15.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001471/1.03, allocations: 111.2 kB / 495.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001725/1.032, allocations: 8 kB / 495.1 MB, free: 15.4 MB / 378.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 (0): * Single equations (assignments): 0 * 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.0002106/1.032, allocations: 178.5 kB / 495.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/1.034, allocations: 309.4 kB / 495.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.034, allocations: 0 / 495.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-06/1.034, allocations: 0 / 495.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/1.035, allocations: 0.53 MB / 496.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/1.035, allocations: 167.5 kB / 496.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/1.036, allocations: 0.7075 MB / 497 MB, free: 13.43 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/1.036, allocations: 0 / 497 MB, free: 13.43 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_InitializationParameters_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_InitializationParameters.fmu > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)