Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",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.001879/0.001879, allocations: 187.9 kB / 7.844 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.873/1.873, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.002007/0.002007, allocations: 90.47 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.1415/0.1415, allocations: 12.59 MB / 322 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2594/0.4009, allocations: 56.49 MB / 378.5 MB, free: 75.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.491, allocations: 50.38 MB / 428.9 MB, free: 25.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.7934, allocations: 76.83 MB / 0.4938 GB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.7937, allocations: 73.58 kB / 0.4939 GB, free: 11.96 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.004375/0.7981, allocations: 1.204 MB / 0.4951 GB, free: 11.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7982, allocations: 11.66 kB / 0.4951 GB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.7982, allocations: 11.72 kB / 0.4951 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.7985, allocations: 184.3 kB / 0.4953 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.7985, allocations: 3.812 kB / 0.4953 GB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.7985, allocations: 4 kB / 0.4953 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001104/0.7986, allocations: 29.28 kB / 0.4953 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.7989, allocations: 106.5 kB / 0.4954 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.7989, allocations: 0 / 0.4954 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.7989, allocations: 0 / 0.4954 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.799, allocations: 3.906 kB / 0.4954 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.7994, allocations: 345.3 kB / 0.4958 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.264e-05/0.7995, allocations: 64.09 kB / 0.4958 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.7995, allocations: 31.38 kB / 0.4959 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.7996, allocations: 0 / 0.4959 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.7996, allocations: 35.86 kB / 0.4959 GB, free: 10.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.7996, allocations: 3.969 kB / 0.4959 GB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002397/0.7999, allocations: 76.2 kB / 0.496 GB, free: 10.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.7999, allocations: 104.2 kB / 0.4961 GB, free: 10.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.8, allocations: 122.2 kB / 0.4962 GB, free: 10.53 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.8001, allocations: 26.97 kB / 0.4962 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.8001, allocations: 88.94 kB / 0.4963 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.8001, allocations: 3.906 kB / 0.4963 GB, free: 10.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.8001, allocations: 0 / 0.4963 GB, free: 10.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.636e-05/0.8002, allocations: 320.1 kB / 0.4966 GB, free: 10.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.8003, allocations: 8.922 kB / 0.4966 GB, free: 10.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.601e-05/0.8003, allocations: 28.8 kB / 0.4966 GB, free: 10.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.8003, allocations: 12.67 kB / 0.4966 GB, free: 10.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8004, allocations: 0 / 0.4966 GB, free: 10.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001127/0.8005, allocations: 64.73 kB / 0.4967 GB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.8005, allocations: 3.812 kB / 0.4967 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8005, allocations: 3.938 kB / 0.4967 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.8006, allocations: 3.906 kB / 0.4967 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.275e-05/0.8006, allocations: 5.297 kB / 0.4967 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.8006, allocations: 3.812 kB / 0.4967 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-05/0.8007, allocations: 1.594 kB / 0.4967 GB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.8007, allocations: 12.03 kB / 0.4967 GB, free: 10 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.036e-05/0.8008, allocations: 104.8 kB / 0.4968 GB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.8009, allocations: 51.83 kB / 0.4969 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.801, allocations: 12.67 kB / 0.4969 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.801, allocations: 1.172 kB / 0.4969 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.801, allocations: 0 / 0.4969 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.801, allocations: 7.781 kB / 0.4969 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.8012, allocations: 145.6 kB / 0.497 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8013, allocations: 3.844 kB / 0.4971 GB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.8013, allocations: 5.25 kB / 0.4971 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8013, allocations: 0 / 0.4971 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.8013, allocations: 3.844 kB / 0.4971 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8013, allocations: 0 / 0.4971 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8013, allocations: 5.078 kB / 0.4971 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001676/0.8015, allocations: 263.6 kB / 0.4973 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002035/0.8017, allocations: 0.6324 MB / 0.4979 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.8018, allocations: 93.2 kB / 0.498 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.8018, allocations: 0 / 0.498 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.8022, allocations: 5.344 kB / 0.498 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.8023, allocations: 5.516 kB / 0.498 GB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-06/0.8023, allocations: 0 / 0.498 GB, free: 8.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.423e-05/0.8024, allocations: 101.7 kB / 0.4981 GB, free: 8.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001159/0.8035, allocations: 11.59 kB / 0.4981 GB, free: 8.637 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001123/0.8037, allocations: 104.4 kB / 0.4982 GB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.8038, allocations: 29.28 kB / 0.4983 GB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8038, allocations: 0 / 0.4983 GB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.8038, allocations: 11.44 kB / 0.4983 GB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.8042, allocations: 23.41 kB / 0.4983 GB, free: 8.531 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.8048, allocations: 118.3 kB / 0.4984 GB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.8051, allocations: 0.7093 MB / 0.4991 GB, free: 7.727 MB / 330.7 MB Notification: Performance of SimCode: time 1.332e-06/0.8051, allocations: 0 / 0.4991 GB, free: 7.727 MB / 330.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1)