Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.Attributes,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_Attributes",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.005892/0.005892, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05893/0.05893, allocations: 8.709 MB / 16.57 MB, free: 444 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.379/2.379, allocations: 221.4 MB / 240.5 MB, free: 7.992 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.001458/0.001458, allocations: 104.7 kB / 293.5 MB, free: 5.445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2642/0.2657, allocations: 58.67 MB / 352.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6604/0.9261, allocations: 52.53 MB / 404.7 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/1.097, allocations: 75.51 MB / 480.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.097, allocations: 60.75 kB / 480.3 MB, free: 15.05 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.001442/1.098, allocations: 417.1 kB / 480.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.791e-05/1.098, allocations: 8 kB / 480.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/1.099, allocations: 5.156 kB / 480.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/1.099, allocations: 163 kB / 480.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/1.099, allocations: 4 kB / 480.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/1.099, allocations: 0.6562 kB / 480.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.004e-05/1.099, allocations: 0 / 480.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/1.099, allocations: 45.02 kB / 480.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.099, allocations: 0 / 480.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/1.099, allocations: 4.484 kB / 480.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.099, allocations: 0 / 480.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007594/1.1, allocations: 174.4 kB / 481.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/1.1, allocations: 41.58 kB / 481.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/1.1, allocations: 14.28 kB / 481.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/1.1, allocations: 0.9375 kB / 481.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/1.1, allocations: 35.06 kB / 481.2 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.445e-06/1.1, allocations: 0.75 kB / 481.2 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002542/1.1, allocations: 38.73 kB / 481.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/1.101, allocations: 81.11 kB / 481.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/1.101, allocations: 91.05 kB / 481.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/1.101, allocations: 25.7 kB / 481.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/1.101, allocations: 80.14 kB / 481.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/1.101, allocations: 12.94 kB / 481.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/1.101, allocations: 0 / 481.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002567/1.101, allocations: 316.5 kB / 481.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/1.101, allocations: 0 / 481.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/1.101, allocations: 13.72 kB / 481.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/1.101, allocations: 8.938 kB / 481.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.101, allocations: 0.8125 kB / 481.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.294e-05/1.101, allocations: 45.59 kB / 481.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.101, allocations: 4.969 kB / 481.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/1.101, allocations: 0 / 481.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.101, allocations: 4.938 kB / 481.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/1.102, allocations: 28.95 kB / 481.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/1.104, allocations: 2.444 MB / 484.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/1.104, allocations: 0 / 484.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/1.105, allocations: 0 / 484.3 MB, free: 10.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * 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): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001439/1.105, allocations: 112.9 kB / 484.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/1.105, allocations: 0 / 484.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/1.105, allocations: 11.14 kB / 484.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.105, allocations: 8.094 kB / 484.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/1.105, allocations: 0 / 484.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.105, allocations: 0 / 484.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/1.105, allocations: 166.1 kB / 484.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.105, allocations: 0 / 484.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/1.106, allocations: 31.98 kB / 484.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.106, allocations: 0 / 484.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/1.106, allocations: 0 / 484.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002493/1.108, allocations: 2.45 MB / 487.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.108, allocations: 4.031 kB / 487.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001246/1.108, allocations: 83.55 kB / 487.2 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003136/1.109, allocations: 464.1 kB / 487.7 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/1.109, allocations: 77.11 kB / 487.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/1.109, allocations: 4 kB / 487.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/1.109, allocations: 0 / 487.7 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/1.109, allocations: 4.031 kB / 487.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/1.109, allocations: 3.906 kB / 487.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.49e-05/1.109, allocations: 79.28 kB / 487.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001238/1.11, allocations: 4 kB / 487.8 MB, free: 6.734 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * 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): 2 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0002485/1.11, allocations: 95.23 kB / 487.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005552/1.111, allocations: 48 kB / 488 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.111, allocations: 0 / 488 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/1.111, allocations: 39.97 kB / 488 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/1.111, allocations: 3.984 kB / 488 MB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/1.112, allocations: 80.64 kB / 488.1 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007158/1.113, allocations: 0.7114 MB / 488.8 MB, free: 5.695 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/1.113, allocations: 0 / 488.8 MB, free: 5.695 MB / 362.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_Attributes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_Attributes.fmu > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)