Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings",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 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 192 kB / 7.804 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009081/0.0009084, allocations: 90.17 kB / 261.4 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1904/0.1904, allocations: 43.49 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1871/0.3775, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.6381, allocations: 58.83 MB / 476.6 MB, free: 5.16 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.7511, allocations: 86.99 MB / 0.5504 GB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.7513, allocations: 55.97 kB / 0.5505 GB, free: 11.87 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.04194/0.7932, allocations: 17.18 MB / 0.5673 GB, free: 10.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7933, allocations: 12 kB / 0.5673 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.7933, allocations: 0 / 0.5673 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.7934, allocations: 163.1 kB / 0.5674 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.7934, allocations: 0 / 0.5674 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.7935, allocations: 7.906 kB / 0.5674 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.375e-05/0.7935, allocations: 0 / 0.5674 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.241e-05/0.7935, allocations: 33.64 kB / 0.5675 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.7936, allocations: 7.922 kB / 0.5675 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.7936, allocations: 0 / 0.5675 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7936, allocations: 0 / 0.5675 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.7937, allocations: 122.2 kB / 0.5676 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.879e-05/0.7938, allocations: 22.61 kB / 0.5676 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.7938, allocations: 12.84 kB / 0.5676 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-06/0.7938, allocations: 3.938 kB / 0.5676 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.7938, allocations: 56.27 kB / 0.5677 GB, free: 10.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7938, allocations: 4.062 kB / 0.5677 GB, free: 10.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.794, allocations: 33.55 kB / 0.5677 GB, free: 10.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.794, allocations: 81.11 kB / 0.5678 GB, free: 9.949 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.897e-05/0.7941, allocations: 85 kB / 0.5679 GB, free: 9.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.7941, allocations: 29.73 kB / 0.5679 GB, free: 9.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.7941, allocations: 80.14 kB / 0.568 GB, free: 9.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.7941, allocations: 0 / 0.568 GB, free: 9.742 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.7941, allocations: 0 / 0.568 GB, free: 9.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7943, allocations: 318.8 kB / 0.5683 GB, free: 9.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.7943, allocations: 4 kB / 0.5683 GB, free: 9.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-06/0.7943, allocations: 0 / 0.5683 GB, free: 9.418 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.032e-05/0.7943, allocations: 0 / 0.5683 GB, free: 9.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7943, allocations: 0 / 0.5683 GB, free: 9.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.706e-05/0.7944, allocations: 33.77 kB / 0.5683 GB, free: 9.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7944, allocations: 14.72 kB / 0.5683 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7945, allocations: 0 / 0.5683 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.7945, allocations: 0 / 0.5683 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.7945, allocations: 0 / 0.5683 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.7945, allocations: 3.938 kB / 0.5683 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.7945, allocations: 0 / 0.5683 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.7945, allocations: 0 / 0.5683 GB, free: 9.363 MB / 410.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 7.097e-05/0.7946, allocations: 139.5 kB / 0.5685 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-06/0.7946, allocations: 4.031 kB / 0.5685 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.461e-05/0.7946, allocations: 3 kB / 0.5685 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7946, allocations: 3.906 kB / 0.5685 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7946, allocations: 4 kB / 0.5685 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7946, allocations: 4 kB / 0.5685 GB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.046e-05/0.7947, allocations: 122.2 kB / 0.5686 GB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.7947, allocations: 7.922 kB / 0.5686 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.7947, allocations: 0 / 0.5686 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7947, allocations: 0 / 0.5686 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.7947, allocations: 4 kB / 0.5686 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.7948, allocations: 8 kB / 0.5686 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7948, allocations: 0 / 0.5686 GB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.662e-05/0.7948, allocations: 57.03 kB / 0.5687 GB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001837/0.795, allocations: 449.5 kB / 0.5691 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.7951, allocations: 85.08 kB / 0.5692 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.7951, allocations: 4 kB / 0.5692 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.868e-06/0.7951, allocations: 3.984 kB / 0.5692 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.7951, allocations: 0 / 0.5692 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.7951, allocations: 3.938 kB / 0.5692 GB, free: 8.371 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.602e-05/0.7952, allocations: 75.28 kB / 0.5693 GB, free: 8.297 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001027/0.7962, allocations: 155.9 kB / 0.5694 GB, free: 8.145 MB / 410.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000889/0.7971, allocations: 476 kB / 0.5699 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.336e-05/0.7972, allocations: 33.7 kB / 0.5699 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7972, allocations: 0 / 0.5699 GB, free: 7.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.7972, allocations: 29.7 kB / 0.5699 GB, free: 7.621 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.883e-05/0.7973, allocations: 3.906 kB / 0.5699 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001242/0.7974, allocations: 44.06 kB / 0.57 GB, free: 7.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.7977, allocations: 0.6841 MB / 0.5706 GB, free: 6.84 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.7977, allocations: 0 / 0.5706 GB, free: 6.84 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestStrings.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1)