Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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/IndustrialControlSystems 1.1.0-master/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",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.006137/0.006137, allocations: 183.6 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0646/0.0646, allocations: 10.59 MB / 18.46 MB, free: 2.184 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.2 MB / 226.5 MB, free: 0.5195 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.001055/0.001055, allocations: 93.55 kB / 276.9 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1444/0.1455, allocations: 56.12 MB / 333 MB, free: 9.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.4704, allocations: 50 MB / 383 MB, free: 39.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.5767, allocations: 76.64 MB / 459.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.5771, allocations: 73.64 kB / 459.7 MB, free: 11.22 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.01285/0.59, allocations: 4.103 MB / 463.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.197e-05/0.5901, allocations: 8 kB / 463.8 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.5902, allocations: 16.47 kB / 463.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/0.5907, allocations: 222.7 kB / 464.1 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.5908, allocations: 4 kB / 464.1 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.5908, allocations: 4 kB / 464.1 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001321/0.591, allocations: 47.94 kB / 464.1 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.5912, allocations: 119 kB / 464.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5912, allocations: 0 / 464.2 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.5912, allocations: 3.375 kB / 464.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5912, allocations: 0 / 464.3 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006698/0.5919, allocations: 377.1 kB / 464.6 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.5921, allocations: 94.66 kB / 464.7 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.5922, allocations: 56.97 kB / 464.8 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.5922, allocations: 11.94 kB / 464.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001509/0.5924, allocations: 95.31 kB / 464.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.5924, allocations: 0 / 464.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005763/0.593, allocations: 169.4 kB / 465 MB, free: 5.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.5931, allocations: 154.2 kB / 465.2 MB, free: 5.559 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5934, allocations: 169.3 kB / 465.4 MB, free: 5.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.5935, allocations: 33.7 kB / 465.4 MB, free: 5.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.5936, allocations: 104 kB / 465.5 MB, free: 5.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.5936, allocations: 39.45 kB / 465.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.5936, allocations: 0 / 465.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002538/0.5939, allocations: 326.8 kB / 465.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.594, allocations: 24.38 kB / 465.9 MB, free: 4.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.5941, allocations: 105.9 kB / 466 MB, free: 4.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.5942, allocations: 38.11 kB / 466 MB, free: 4.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5943, allocations: 0 / 466 MB, free: 4.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003106/0.5946, allocations: 143.4 kB / 466.2 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.5946, allocations: 8 kB / 466.2 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5946, allocations: 0 / 466.2 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.5947, allocations: 4 kB / 466.2 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.5948, allocations: 31.92 kB / 466.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5949, allocations: 7.984 kB / 466.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.5951, allocations: 20.03 kB / 466.2 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.5951, allocations: 8 kB / 466.2 MB, free: 4.453 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.ll_dig_BE.y,ll_dig_BE.y,$PRE.ll_dig_FE.y,ll_dig_FE.y,$PRE.ll_dig_TU.y,ll_dig_TU.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001101/0.5952, allocations: 114 kB / 466.3 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.5953, allocations: 19.84 kB / 466.4 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.5953, allocations: 17.47 kB / 466.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5954, allocations: 5.688 kB / 466.4 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5954, allocations: 3.906 kB / 466.4 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5954, allocations: 7.984 kB / 466.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.596, allocations: 441 kB / 466.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.596, allocations: 0 / 466.8 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.5962, allocations: 27.86 kB / 466.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.5962, allocations: 4 kB / 466.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.5962, allocations: 0 / 466.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.5962, allocations: 0 / 466.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5962, allocations: 0 / 466.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005318/0.5968, allocations: 323.2 kB / 467.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007516/0.5975, allocations: 0.7279 MB / 467.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.5976, allocations: 96.91 kB / 468 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.5977, allocations: 4 kB / 468 MB, free: 2.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.5979, allocations: 16.11 kB / 468 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.5979, allocations: 3.984 kB / 468 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.5979, allocations: 8 kB / 468 MB, free: 2.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001107/0.598, allocations: 128.5 kB / 468.2 MB, free: 2.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009245/0.599, allocations: 44.73 kB / 468.2 MB, free: 2.391 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002358/0.5992, allocations: 115.2 kB / 468.3 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.5995, allocations: 99.86 kB / 468.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5995, allocations: 1.406 kB / 468.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.5996, allocations: 48 kB / 468.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.5999, allocations: 24.48 kB / 468.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.6007, allocations: 220.2 kB / 468.7 MB, free: 1.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.6012, allocations: 0.7393 MB / 469.4 MB, free: 1.098 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6012, allocations: 0 / 469.4 MB, free: 1.098 MB / 346.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)