Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler",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.003968/0.003967, allocations: 187 kB / 7.844 MB, free: 2.5 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.938/1.938, allocations: 205.2 MB / 213.5 MB, free: 13.93 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.001856/0.001856, allocations: 90.62 kB / 261.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1034/0.1034, allocations: 12.59 MB / 322 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2557/0.3592, allocations: 56.5 MB / 378.5 MB, free: 75.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.4534, allocations: 50.38 MB / 428.9 MB, free: 25.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.7889, allocations: 77.74 MB / 0.4947 GB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.7892, allocations: 59.39 kB / 0.4948 GB, free: 11.94 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.01406/0.8032, allocations: 3.215 MB / 0.4979 GB, free: 11.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.8033, allocations: 11.5 kB / 0.4979 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.8034, allocations: 16.83 kB / 0.498 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.8037, allocations: 221.6 kB / 0.4982 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.8037, allocations: 7.812 kB / 0.4982 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.8038, allocations: 8.219 kB / 0.4982 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003047/0.8041, allocations: 103.7 kB / 0.4983 GB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007587/0.8049, allocations: 308.2 kB / 0.4986 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.8049, allocations: 3.938 kB / 0.4986 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.805, allocations: 0 / 0.4986 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.805, allocations: 3.844 kB / 0.4986 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.8058, allocations: 433.6 kB / 0.499 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005165/0.8064, allocations: 209.5 kB / 0.4992 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.8066, allocations: 112.8 kB / 0.4993 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.8067, allocations: 8.25 kB / 0.4993 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.8067, allocations: 44.94 kB / 0.4994 GB, free: 10.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.475e-06/0.8067, allocations: 0 / 0.4994 GB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.000512/0.8072, allocations: 177.8 kB / 0.4995 GB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.8073, allocations: 139.6 kB / 0.4997 GB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.8075, allocations: 130.5 kB / 0.4998 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.8075, allocations: 25.7 kB / 0.4998 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.8075, allocations: 103.9 kB / 0.4999 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.8076, allocations: 14.62 kB / 0.4999 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.8076, allocations: 0 / 0.4999 GB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.8077, allocations: 329.8 kB / 0.5002 GB, free: 9.762 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.8078, allocations: 29.33 kB / 0.5003 GB, free: 9.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.8079, allocations: 131.9 kB / 0.5004 GB, free: 9.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.8081, allocations: 61 kB / 0.5004 GB, free: 9.602 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.842e-06/0.8081, allocations: 7.562 kB / 0.5005 GB, free: 9.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003581/0.8084, allocations: 157.3 kB / 0.5006 GB, free: 9.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.8085, allocations: 3.906 kB / 0.5006 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.8085, allocations: 9.219 kB / 0.5006 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.8085, allocations: 3.719 kB / 0.5006 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.8088, allocations: 40.08 kB / 0.5007 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.8088, allocations: 9.531 kB / 0.5007 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.809, allocations: 17.64 kB / 0.5007 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.809, allocations: 7.812 kB / 0.5007 GB, free: 9.527 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.018e-05/0.8091, allocations: 120.2 kB / 0.5008 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.8095, allocations: 150.4 kB / 0.5009 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.535e-05/0.8096, allocations: 17.14 kB / 0.501 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.8096, allocations: 3.906 kB / 0.501 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.8096, allocations: 1.781 kB / 0.501 GB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.8096, allocations: 8.016 kB / 0.501 GB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.8099, allocations: 187 kB / 0.5012 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.81, allocations: 0 / 0.5012 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.8103, allocations: 38.05 kB / 0.5012 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8103, allocations: 0 / 0.5012 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.8103, allocations: 3.906 kB / 0.5012 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.8103, allocations: 1.453 kB / 0.5012 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8103, allocations: 0 / 0.5012 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004436/0.8108, allocations: 413.1 kB / 0.5016 GB, free: 8.887 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004722/0.8113, allocations: 0.7633 MB / 0.5023 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.8113, allocations: 90.06 kB / 0.5024 GB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.8114, allocations: 7.844 kB / 0.5024 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.8117, allocations: 6.859 kB / 0.5024 GB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.8117, allocations: 9.297 kB / 0.5024 GB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.8118, allocations: 7.219 kB / 0.5025 GB, free: 8.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.77e-05/0.8119, allocations: 110.8 kB / 0.5026 GB, free: 8.043 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001361/0.8132, allocations: 23.28 kB / 0.5026 GB, free: 8.035 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001258/0.8134, allocations: 104.8 kB / 0.5027 GB, free: 7.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.8138, allocations: 123.5 kB / 0.5028 GB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8138, allocations: 0 / 0.5028 GB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.8138, allocations: 12.95 kB / 0.5028 GB, free: 7.926 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.8145, allocations: 98.64 kB / 0.5029 GB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007625/0.8152, allocations: 251.4 kB / 0.5031 GB, free: 7.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.8156, allocations: 0.7691 MB / 0.5039 GB, free: 7.094 MB / 330.7 MB Notification: Performance of SimCode: time 1.463e-06/0.8156, allocations: 0 / 0.5039 GB, free: 7.094 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestRealSampler.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)